summaryrefslogtreecommitdiffstats
path: root/.travis-functions.sh
diff options
context:
space:
mode:
authorRuediger Meier2018-03-06 23:58:41 +0100
committerRuediger Meier2018-03-07 18:31:55 +0100
commit277d61b9f4931a3b0f3099df8d23acc7940b23ed (patch)
tree903f7417fa2a4753deb5e00d37ed1e30fe85422d /.travis-functions.sh
parentMerge branch 'setpriv-caps' of https://github.com/yrro/util-linux (diff)
downloadkernel-qcow2-util-linux-277d61b9f4931a3b0f3099df8d23acc7940b23ed.tar.gz
kernel-qcow2-util-linux-277d61b9f4931a3b0f3099df8d23acc7940b23ed.tar.xz
kernel-qcow2-util-linux-277d61b9f4931a3b0f3099df8d23acc7940b23ed.zip
travis: enable osx root checks
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to '.travis-functions.sh')
-rwxr-xr-x.travis-functions.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis-functions.sh b/.travis-functions.sh
index f0a0d8990..d92927e77 100755
--- a/.travis-functions.sh
+++ b/.travis-functions.sh
@@ -79,6 +79,9 @@ function check_root
osx_prepare_check
sudo -E $MAKE check TS_OPTS="$opts" || return
+ # root on osx has not enough permission for make install ;)
+ [ "$TRAVIS_OS_NAME" = "osx" ] && return
+
# keep PATH to make sure sudo would find $CC
sudo env "PATH=$PATH" $MAKE install || return
}