Browse Source

CI: Use absolute path in PATH variable to remove warnings from gcov

Stefan Profanter 5 years ago
parent
commit
da4f4e8f7e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/travis/travis_linux_script.sh

+ 1 - 1
tools/travis/travis_linux_script.sh

@@ -225,7 +225,7 @@ if ! [ -z ${MINGW+x} ]; then
     echo -e "\r\n== Cross compile release build for RaspberryPi =="  && echo -en 'travis_fold:start:script.build.cross_raspi\\r'
     mkdir -p build && cd build
     git clone https://github.com/raspberrypi/tools
-    export PATH=$PATH:./tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/
+    export PATH=$PATH:${TRAVIS_BUILD_DIR}/build/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/
     cmake \
         -DBUILD_SHARED_LIBS=ON \
         -DCMAKE_BUILD_TYPE=RelWithDebInfo \