]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
travis: Don't build TSS2 as root
authorTobias Brunner <tobias@strongswan.org>
Fri, 9 Nov 2018 15:14:23 +0000 (16:14 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 21 Nov 2018 13:36:38 +0000 (14:36 +0100)
This might prevent ccache from overwriting files in later builds.

scripts/test.sh

index f79d2d9fbaebbfdd7ad19b940b936d9cdd44728f..8f573cef3b6067c9cfb53bca35cfc035d0c4999d 100755 (executable)
@@ -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 -
 }