From 120612d414c5e6e32b8c1e32e4fa07c870d840f4 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 11 Aug 2018 13:10:47 +0200 Subject: [PATCH] Create rootpath var --- Hooks/travis.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Hooks/travis.sh b/Hooks/travis.sh index 981b8f8..a319240 100644 --- a/Hooks/travis.sh +++ b/Hooks/travis.sh @@ -1,13 +1,12 @@ #!/bin/bash +rootpath="$(pwd)" + . ${rootpath}/Build/Hooks/logging.sh . ${rootpath}/Build/Hooks/syntax.sh . ${rootpath}/Build/Hooks/filename.sh . ${rootpath}/Build/Hooks/tests.sh -rootpath="$(pwd)" -echo $rootpath - ($(git diff --name-only $TRAVIS_COMMIT_RANGE)) | while read FILE; do if [[ ! -f "$FILE" ]]; then continue