diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-08-13 12:08:23 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-08-13 12:08:23 +1000 |
commit | 61b063aa15fda8de1b72e2ffe50185fd6d01e8a2 (patch) | |
tree | 77c9399dec409ee3f2544c45368f3899de0aec78 | |
parent | 72de9953afb3a45cc6088685a9a0abf0f0dab0bd (diff) | |
download | skiboot-61b063aa15fda8de1b72e2ffe50185fd6d01e8a2.zip skiboot-61b063aa15fda8de1b72e2ffe50185fd6d01e8a2.tar.gz skiboot-61b063aa15fda8de1b72e2ffe50185fd6d01e8a2.tar.bz2 |
fix fat-fingering of FSPSSHUSER support in extract_gcov.sh
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rwxr-xr-x | external/boot-tests/extract_gcov.sh | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/external/boot-tests/extract_gcov.sh b/external/boot-tests/extract_gcov.sh index 2c6af76..c40e01e 100755 --- a/external/boot-tests/extract_gcov.sh +++ b/external/boot-tests/extract_gcov.sh @@ -5,10 +5,12 @@ if [ "$SKIBOOT_GCOV" != 1 ]; then exit 0; fi -if [ ! -f ~/.skiboot_boot_tests || ( -z $FSPSSHUSER || -z $FSPSSHPASS ) ]; then - echo "Skipping extract gcov due to missing ~/.skiboot_boot_tests" - echo "Set FSPSSHUSER and FSPSSHPASS in ~/.skiboot_boot_tests" - exit 0; +if [ ! -f ~/.skiboot_boot_tests ]; then + if [ -z $FSPSSHUSER ] || [ -z $FSPSSHPASS ] ; then + echo "Skipping extract gcov due to missing ~/.skiboot_boot_tests" + echo "Set FSPSSHUSER and FSPSSHPASS in ~/.skiboot_boot_tests" + exit 0; + fi fi source ~/.skiboot_boot_tests |