diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-02-10 01:28:52 +0100 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2017-02-10 01:28:52 +0100 |
commit | 82d3d97920b6f460185ff25802c3a919c51d7698 (patch) | |
tree | 89d96135c9d37e18b0ce7486d3a158bfde021ec5 /.travis | |
parent | c6294df53b95cb68c3a9a4992a06ea24a91c0d1a (diff) | |
download | blogc-82d3d97920b6f460185ff25802c3a919c51d7698.tar.gz blogc-82d3d97920b6f460185ff25802c3a919c51d7698.tar.bz2 blogc-82d3d97920b6f460185ff25802c3a919c51d7698.zip |
travis: yet another minor fix
Diffstat (limited to '.travis')
-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 |