This is an automated email from the ASF dual-hosted git repository.
jbarrett pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new 842f84d Fix location of bashrc in install scripts so build tools get
properly added to path
842f84d is described below
commit 842f84dfadaf69901d6861ee7b17f952e6f36e18
Author: Blake Bender <[email protected]>
AuthorDate: Fri Jul 13 10:59:54 2018 -0700
Fix location of bashrc in install scripts so build tools get properly added
to path
---
packer/rhel/install-scl-devtoolset.sh | 2 +-
packer/rhel/install-scl-python27.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/packer/rhel/install-scl-devtoolset.sh
b/packer/rhel/install-scl-devtoolset.sh
index f128096..9c774bb 100644
--- a/packer/rhel/install-scl-devtoolset.sh
+++ b/packer/rhel/install-scl-devtoolset.sh
@@ -20,4 +20,4 @@ set -x -e -o pipefail
yum-config-manager --enable rhui-REGION-rhel-server-rhscl
yum -y install devtoolset-4-gcc-c++
-echo "source scl_source enable devtoolset-4" >> ~/.bashrc
+echo "source scl_source enable devtoolset-4" >> /etc/bashrc
diff --git a/packer/rhel/install-scl-python27.sh
b/packer/rhel/install-scl-python27.sh
index cfac63d..99c800b 100644
--- a/packer/rhel/install-scl-python27.sh
+++ b/packer/rhel/install-scl-python27.sh
@@ -21,4 +21,4 @@ yum-config-manager --enable rhui-REGION-rhel-server-rhscl
yum -y install python27-python-pip
scl enable python27 'pip install --upgrade pip'
-echo "source scl_source enable python27" >> ~/.bashrc
+echo "source scl_source enable python27" >> /etc/bashrc