Add call to ls upon failure of script
parent
12bb4866dd
commit
f36562218f
|
|
@ -12,7 +12,8 @@
|
|||
set +e
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,8 @@
|
|||
# ====================================================================
|
||||
|
||||
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
|
||||
fi
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue