bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mackror...@apache.org
Subject git commit: BIGTOP-1046. Pig's use of BIGTOP_DEFAULTS_DIR is evaluated at the wrong time
Date Fri, 20 Sep 2013 14:35:39 GMT
Updated Branches:
  refs/heads/master 582ed616b -> d2a2f6de7


BIGTOP-1046. Pig's use of BIGTOP_DEFAULTS_DIR is evaluated at the wrong time


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/d2a2f6de
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/d2a2f6de
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/d2a2f6de

Branch: refs/heads/master
Commit: d2a2f6de75115c7859ee92d12ef7d8e2b54f856c
Parents: 582ed61
Author: Sean Mackrory <mackrorysd@gmail.com>
Authored: Fri Sep 20 07:34:58 2013 -0700
Committer: Sean Mackrory <mackrorysd@gmail.com>
Committed: Fri Sep 20 07:34:58 2013 -0700

----------------------------------------------------------------------
 bigtop-packages/src/common/pig/install_pig.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/d2a2f6de/bigtop-packages/src/common/pig/install_pig.sh
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/pig/install_pig.sh b/bigtop-packages/src/common/pig/install_pig.sh
index 710eb8b..f297712 100644
--- a/bigtop-packages/src/common/pig/install_pig.sh
+++ b/bigtop-packages/src/common/pig/install_pig.sh
@@ -134,8 +134,8 @@ cat > $PREFIX/$BIN_DIR/pig <<EOF
 # Autodetect JAVA_HOME if not defined
 . /usr/lib/bigtop-utils/bigtop-detect-javahome
 
-BIGTOP_DEFAULTS_DIR=${BIGTOP_DEFAULTS_DIR-/etc/default}
-[ -n "${BIGTOP_DEFAULTS_DIR}" -a -r ${BIGTOP_DEFAULTS_DIR}/hbase ] && . ${BIGTOP_DEFAULTS_DIR}/hbase
+BIGTOP_DEFAULTS_DIR=\${BIGTOP_DEFAULTS_DIR-/etc/default}
+[ -n "\${BIGTOP_DEFAULTS_DIR}" -a -r \${BIGTOP_DEFAULTS_DIR}/hbase ] && . \${BIGTOP_DEFAULTS_DIR}/hbase
 
 exec $INSTALLED_LIB_DIR/bin/pig "\$@"
 EOF


Mime
View raw message