From 75f674edb15e3df5b59e038610ea8772dc58c624 Mon Sep 17 00:00:00 2001 From: Thomas Orozco Date: Tue, 5 May 2015 20:50:06 +0200 Subject: [PATCH] Use absolute path to load stub rpmbuild On Travis, Cmake does not run from the same directory as in our local build environment. We need to ensure that PATH contains absolute paths so that Cmake can find our stub rpmbuild. --- ci/run_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/run_build.sh b/ci/run_build.sh index 84cfcc8..dab70ed 100755 --- a/ci/run_build.sh +++ b/ci/run_build.sh @@ -9,7 +9,7 @@ set -o nounset # Set path to prioritize our utils export REAL_PATH="${PATH}" -export PATH="${SOURCE_DIR}/ci/util:${PATH}" +export PATH="$(readlink -f "${SOURCE_DIR}")/ci/util:${PATH}" echo "PATH IS: $PATH" # Build