diff options
Diffstat (limited to 'devel/pig/files/patch-bin-pig')
-rw-r--r-- | devel/pig/files/patch-bin-pig | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/devel/pig/files/patch-bin-pig b/devel/pig/files/patch-bin-pig deleted file mode 100644 index 9b9633fdd73e..000000000000 --- a/devel/pig/files/patch-bin-pig +++ /dev/null @@ -1,68 +0,0 @@ ---- bin/pig.orig 2014-11-17 04:37:53.000000000 +0300 -+++ bin/pig 2015-02-15 16:23:44.000000000 +0300 -@@ -88,6 +88,8 @@ - export PIG_HOME=`dirname "$this"`/.. - fi - -+PIG_CONF_DIR=${PIG_HOME}/etc/pig -+ - if [ -z "$PIG_CONF_DIR" ]; then - if [ -f ${PIG_HOME}/conf/pig.properties ]; then - PIG_CONF_DIR=${PIG_HOME}/conf -@@ -111,6 +113,7 @@ - JAVA_HOME=$JAVA_HOME - fi - -+JAVA_HOME=%%JAVA_HOME%% - if [ "$JAVA_HOME" = "" ]; then - echo "Error: JAVA_HOME is not set." - exit 1 -@@ -206,6 +209,7 @@ - fi - - # add HADOOP_CONF_DIR -+HADOOP_CONF_DIR=%%LOCALBASE%%/etc/hadoop - if [ "$HADOOP_CONF_DIR" != "" ]; then - CLASSPATH=${CLASSPATH}:${HADOOP_CONF_DIR} - fi -@@ -244,23 +248,23 @@ - - # For Hadoop 0.23.0+ - # --#if [ -d "${PIG_HOME}/share/hadoop/common" ]; then --# for f in ${PIG_HOME}/share/hadoop/common/hadoop*.jar; do --# CLASSPATH=${CLASSPATH}:$f; --# done --#fi --# --#if [ -d "${PIG_HOME}/share/hadoop/hdfs" ]; then --# for f in ${PIG_HOME}/share/hadoop/hdfs/hadoop*.jar; do --# CLASSPATH=${CLASSPATH}:$f; --# done --#fi --# --#if [ -d "${PIG_HOME}/share/hadoop/mapreduce" ]; then --# for f in ${PIG_HOME}/share/hadoop/mapreduce/hadoop*.jar; do --# CLASSPATH=${CLASSPATH}:$f; --# done --#fi -+if [ -d "${PIG_HOME}/share/hadoop/common" ]; then -+ for f in ${PIG_HOME}/share/hadoop/common/hadoop*.jar; do -+ CLASSPATH=${CLASSPATH}:$f; -+ done -+fi -+ -+if [ -d "${PIG_HOME}/share/hadoop/hdfs" ]; then -+ for f in ${PIG_HOME}/share/hadoop/hdfs/hadoop*.jar; do -+ CLASSPATH=${CLASSPATH}:$f; -+ done -+fi -+ -+if [ -d "${PIG_HOME}/share/hadoop/mapreduce" ]; then -+ for f in ${PIG_HOME}/share/hadoop/mapreduce/hadoop*.jar; do -+ CLASSPATH=${CLASSPATH}:$f; -+ done -+fi - - if which hadoop >/dev/null; then - HADOOP_BIN=`which hadoop` |