diff options
Diffstat (limited to '.travis/build.sh')
-rwxr-xr-x | .travis/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis/build.sh b/.travis/build.sh index 9e12ada..ce9df01 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -2,8 +2,8 @@ set -ex -if [[ -n "${TARGET}" ]] && [[ -e "travis/targets/${TARGET}.sh" ]]; then - source "travis/targets/${TARGET}.sh" +if [[ -n "${TARGET}" ]] && [[ -e ".travis/targets/${TARGET}.sh" ]]; then + source ".travis/targets/${TARGET}.sh" else echo "Target not defined or invalid!" exit 1 |