From 248f34918fe51ff0f3cbf482dbc011c2d1c0e92f Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 9 Nov 2018 16:14:23 +0100 Subject: [PATCH] travis: Don't build TSS2 as root This might prevent ccache from overwriting files in later builds. --- scripts/test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index f79d2d9fb..8f573cef3 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 - }