From: Tobias Brunner Date: Fri, 9 Nov 2018 15:14:23 +0000 (+0100) Subject: travis: Don't build TSS2 as root X-Git-Tag: 5.7.2dr4~17^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=248f34918fe51ff0f3cbf482dbc011c2d1c0e92f;p=thirdparty%2Fstrongswan.git travis: Don't build TSS2 as root This might prevent ccache from overwriting files in later builds. --- diff --git a/scripts/test.sh b/scripts/test.sh index f79d2d9fba..8f573cef3b 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -49,7 +49,8 @@ build_tss2() curl -L $TSS2_SRC | tar xz -C $TRAVIS_BUILD_DIR/.. && cd $TSS2_DIR && ./configure && - sudo make -j4 install >/dev/null && + make -j4 >/dev/null && + sudo make install >/dev/null && sudo ldconfig || exit $? cd - }