Add some sudos to make tools/build.sh work when not root
This commit is contained in:
1 parent
3c093d7534
commit
949afd9c20
1 file changed
+3
-3
+3
-3
@@ -1,8 +1,8 @@
|
||||
#!/bin/sh
|
||||
set -x -e
|
||||
|
||||
apt-get -y update
|
||||
apt-get -y install curl make pkg-config gcc bison flex
|
||||
sudo apt-get -y update
|
||||
sudo apt-get -y install curl make pkg-config gcc bison flex
|
||||
|
||||
BASEDIR=$(dirname $0)
|
||||
mkdir -p "$BASEDIR"/bin
|
||||
@@ -38,7 +38,7 @@ fetch() {
|
||||
|
||||
for PACKAGE in $PACKAGES; do
|
||||
fetch $PACKAGE
|
||||
(cd $PACKAGE; ./configure --disable-shared && make install)
|
||||
(cd $PACKAGE; ./configure --disable-shared && make && sudo make install)
|
||||
done
|
||||
|
||||
fetch $CONNTRACK
|
||||
|
||||
Reference in new issue
Block a user