From 82d3d97920b6f460185ff25802c3a919c51d7698 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Fri, 10 Feb 2017 01:28:52 +0100 Subject: travis: yet another minor fix --- .travis/build.sh | 4 ++-- .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 -- cgit v1.2.3-18-g5258