Fix unset RC_FILE_PATH in Scripts 75/59275/1
authorTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 28 Jun 2018 22:28:27 +0000 (15:28 -0700)
committerTrevor Bramwell <tbramwell@linuxfoundation.org>
Thu, 28 Jun 2018 22:28:27 +0000 (15:28 -0700)
Even though RC_FILE_PATH is defined in Jenkins as passed in as a
parameter, bash still sees it as unset. Removing the 'nounset' option
from these scripts should allow the check to success (RC_FILE_PATH set
to blank).

Change-Id: Ibcfdcf0d2a12c8119d2fe3ec3b354be782338bd5
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
jjb/functest/functest-env-presetup.sh
utils/fetch_os_creds.sh

index 81718a5..510670b 100755 (executable)
@@ -1,6 +1,5 @@
 #!/usr/bin/env bash
 set -o errexit
-set -o nounset
 set -o pipefail
 
 # Fetch INSTALLER_IP for APEX deployments
index 0e041c6..5010950 100755 (executable)
@@ -8,7 +8,6 @@
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
 set -o errexit
-set -o nounset
 set -o pipefail
 
 usage() {