summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard J. Knight <rjknight@us.ibm.com>2018-05-03 22:38:34 -0500
committerRichard J. Knight <rjknight@us.ibm.com>2018-05-03 22:38:34 -0500
commit0c9b3ebc0e88af740cfc37e6c4a43ef5328e70be (patch)
tree19646d19d66c6cb80a0203936101a3444c0baf08
parentb42d27310905144f4254c8a7a1c0ad3656736421 (diff)
downloadtalos-hcode-0c9b3ebc0e88af740cfc37e6c4a43ef5328e70be.tar.gz
talos-hcode-0c9b3ebc0e88af740cfc37e6c4a43ef5328e70be.zip
Remove dependency on git repo in hcode env
Change-Id: I2134bf7edd4ece0b7ef5e03cda88f4681a2db794
-rwxr-xr-xenv.bash10
1 files changed, 2 insertions, 8 deletions
diff --git a/env.bash b/env.bash
index f1f74122..e3d4bebc 100755
--- a/env.bash
+++ b/env.bash
@@ -5,7 +5,7 @@
#
# OpenPOWER HCODE Project
#
-# COPYRIGHT 2015,2017
+# COPYRIGHT 2015,2018
# [+] International Business Machines Corp.
#
#
@@ -29,15 +29,9 @@ if [ -e ./customrc ]; then
source ./customrc
fi
-GIT_ROOT=`git rev-parse --show-toplevel`
-if [ $? -ne 0 ]; then
- echo "Could not find git root"
- exit -1
-fi
-
# Setup some global variables
export PROJECT_NAME=HCODE
-export PROJECT_ROOT=$GIT_ROOT
+export PROJECT_ROOT=$ROOTDIR
export TOOLSDIR=$PROJECT_ROOT/tools
export PERLMODULES=$TOOLSDIR/perl.modules
export HOOKSDIR=$PROJECT_ROOT/.git/hooks
OpenPOWER on IntegriCloud