From: Vanessa Rene Valderrama Date: Wed, 12 Sep 2018 20:39:58 +0000 (-0500) Subject: Configure script to look in home directory X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=40b9c422f153657e56dfc73699b24f448ddd2eec;p=ci-management.git 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 --- 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)