You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by ma...@apache.org on 2013/09/20 16:35:39 UTC

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

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 <ma...@gmail.com>
Authored: Fri Sep 20 07:34:58 2013 -0700
Committer: Sean Mackrory <ma...@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