aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-13 23:46:08 +0100
committerAndreas Guldstrand <andreas.guldstrand@gmail.com>2015-12-13 23:46:08 +0100
commit70ca75aec86bb955a952ddb573c81e47bedf0f2b (patch)
tree433b58af838a09c48128d2d31e62a81d42330600
parent03aa1179a33de74249664428cc87c030ef991175 (diff)
downloadsbotools2-70ca75aec86bb955a952ddb573c81e47bedf0f2b.tar.xz
Let sbosnap fetch be run with sudo
-rwxr-xr-xt/travis.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/travis.sh b/t/travis.sh
index 88056f2..a919026 100755
--- a/t/travis.sh
+++ b/t/travis.sh
@@ -4,7 +4,8 @@
set -e
set -x
-perl -I"SBO-Lib/lib" sbosnap fetch
+PERL=`which perl`
+sudo $PERL -I"SBO-Lib/lib" sbosnap fetch
echo "Not actually testing anything. Just verifying travis runs this."
exit 0