diff options
-rwxr-xr-x | .travis/build.sh | 4 | ||||
-rwxr-xr-x | .travis/deploy.sh | 4 |
2 files changed, 4 insertions, 4 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 diff --git a/.travis/deploy.sh b/.travis/deploy.sh index e064ee9..350a400 100755 --- a/.travis/deploy.sh +++ b/.travis/deploy.sh @@ -23,8 +23,8 @@ if [[ ! -d build ]]; then fi FILES= -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 |