Add call to ls upon failure of script

pull/696/head
Jeffrey Walton 2018-07-30 15:40:13 -04:00
parent 12bb4866dd
commit f36562218f
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 4 additions and 2 deletions

View File

@ -12,7 +12,8 @@
set +e set +e
if [ -z $(command -v ./setenv-android-gcc.sh) ]; then if [ -z $(command -v ./setenv-android-gcc.sh) ]; then
echo "Pailed to locate setenv-android-gcc.sh" echo "Failed to locate setenv-android-gcc.sh"
ls -Al *.sh
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1 [[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
fi fi

View File

@ -11,7 +11,8 @@
# ==================================================================== # ====================================================================
if [ -z $(command -v ./setenv-ios.sh) ]; then if [ -z $(command -v ./setenv-ios.sh) ]; then
echo "Pailed to locate setenv-ios.sh" echo "Failed to locate setenv-ios.sh"
ls -Al *.sh
[[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1 [[ "$0" = "${BASH_SOURCE[0]}" ]] && exit 1 || return 1
fi fi