Browse Source

1

congestion
Evgeny 5 months ago
parent
commit
a44d9c10a1
  1. 7
      tools/utun_update.sh

7
tools/utun_update.sh

@ -3,7 +3,7 @@ set -e
# utun_update.sh - Remote uTun update script # utun_update.sh - Remote uTun update script
# Usage: ./tools/utun_update.sh [fast|full] [workdir] # Usage: ./tools/utun_update.sh [fast|full] [workdir]
# fast: git pull + make clean + make # fast: git pull + make (incremental build)
# full: git pull + make distclean + autoreconf + configure + make # full: git pull + make distclean + autoreconf + configure + make
# Returns: # Returns:
# 0 - success # 0 - success
@ -36,7 +36,7 @@ if [ ! -d ".git" ]; then
fi fi
PIDFILE="/var/run/utun.pid" PIDFILE="/var/run/utun.pid"
UTUN_BIN="./src/utun" UTUN_BIN="./utun"
echo "=== uTun Update ===" echo "=== uTun Update ==="
echo "Mode: $MODE" echo "Mode: $MODE"
@ -87,8 +87,7 @@ if [ "$MODE" = "full" ]; then
./configure --prefix=/usr/local 2>&1 | tee configure.log ./configure --prefix=/usr/local 2>&1 | tee configure.log
make clean make clean
else else
echo "Fast rebuild (make clean && make)..." echo "Fast rebuild (incremental)..."
make clean
fi fi
echo "Building with $JOBS parallel jobs..." echo "Building with $JOBS parallel jobs..."

Loading…
Cancel
Save