diff options
author | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2018-09-12 15:39:58 -0500 |
---|---|---|
committer | Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org> | 2018-09-12 15:39:58 -0500 |
commit | 40b9c422f153657e56dfc73699b24f448ddd2eec (patch) | |
tree | 2fa229377307768e566b7fb9e26ca8b596f144cd /jjb/scripts | |
parent | bbde2229c57a1903a2ba2be830dd5e1eac92159e (diff) |
Configure script to look in home directory
Configuring the script to look in the home directory for the
packagecloud files to allow the script to work in the containers and the
openstack environments
Change-Id: Ibfad7111b87ed570d8cdca9b6243b0ab2e848483
Signed-off-by: Vanessa Rene Valderrama <vvalderrama@linuxfoundation.org>
Diffstat (limited to 'jjb/scripts')
-rw-r--r-- | jjb/scripts/packagecloud_push.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/scripts/packagecloud_push.sh b/jjb/scripts/packagecloud_push.sh index d674c28cf..5f82fba7d 100644 --- a/jjb/scripts/packagecloud_push.sh +++ b/jjb/scripts/packagecloud_push.sh @@ -8,7 +8,7 @@ echo "STARTING PACKAGECLOUD PUSH" sleep 10 FACTER_OS=$(/usr/bin/facter operatingsystem) -if [ -f /root/.packagecloud ]; then +if [ -f ~/.packagecloud ]; then case "$FACTER_OS" in Ubuntu) FACTER_LSBNAME=$(/usr/bin/facter lsbdistcodename) |