You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by ad...@apache.org on 2017/12/05 00:24:13 UTC

incubator-hawq git commit: HAWQ-1563. Adapt to run PXF Makefile in /bin/sh

Repository: incubator-hawq
Updated Branches:
  refs/heads/master 96c13f7ba -> 9578ab04c


HAWQ-1563. Adapt to run PXF Makefile in /bin/sh

- Since each line of Makefile runs in its own shell, pushd and popd are not necessary
- Also, pushd is not supported in /bin/sh, default shell in Ubuntu

Signed-off-by: Goutam Tadi <gt...@pivotal.io>


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/9578ab04
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/9578ab04
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/9578ab04

Branch: refs/heads/master
Commit: 9578ab04c80d0d0cc1d93e8a8cde98f9e14b6e7d
Parents: 96c13f7
Author: Larry Hamel <lh...@pivotal.io>
Authored: Mon Dec 4 14:00:16 2017 -0800
Committer: Alexander Denissov <ad...@pivotal.io>
Committed: Mon Dec 4 16:18:14 2017 -0800

----------------------------------------------------------------------
 pxf/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/9578ab04/pxf/Makefile
----------------------------------------------------------------------
diff --git a/pxf/Makefile b/pxf/Makefile
index 166a592..f162736 100644
--- a/pxf/Makefile
+++ b/pxf/Makefile
@@ -95,10 +95,10 @@ tomcat:
 install:
 	./gradlew install $(BUILD_PARAMS)
 	@if [ -d "$(PXF_HOME)/lib" ] ; then \
-		pushd $(PXF_HOME)/lib && \
+		cd $(PXF_HOME)/lib && \
 		for X in pxf-*-[0-9]*.jar; do \
 			ln -sf $$X `echo $$X | sed -e 's/-[a-zA-Z0-9.]*.jar/.jar/'`; \
-		done && popd; \
+		done; \
 	fi
 
 bundle: