File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ sleep 10
24
24
25
25
# apparently, there's a difference between piping into zsh like this and doing
26
26
# a <(echo $SCRIPT).
27
- cat " $SCRIPT " | ssh admin@" $( tart ip " $VM_NAME " ) " bash /dev/stdin
27
+ ssh admin@" $( tart ip " $VM_NAME " ) " bash /dev/stdin < " $SCRIPT "
28
28
script_status=$?
29
29
30
30
kill $vm_pid
Original file line number Diff line number Diff line change 5
5
LOG_DIR=/var/log/mullvad-vpn
6
6
7
7
mkdir -p $LOG_DIR
8
- exec 2>&1 > $LOG_DIR /postinstall.log
8
+ exec > $LOG_DIR /postinstall.log 2>&1
9
9
10
10
echo " Running postinstall at $( date) "
11
11
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ INSTALL_DIR=$2
7
7
8
8
mkdir -p $LOG_DIR
9
9
chmod 755 $LOG_DIR
10
- exec 2>&1 > $LOG_DIR /preinstall.log
10
+ exec > $LOG_DIR /preinstall.log 2>&1
11
11
12
12
echo " Running preinstall at $( date) "
13
13
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ for arch in ${ARCHITECTURES:-armv7 aarch64 x86_64 i686}; do
41
41
esac
42
42
43
43
# Build Wireguard-Go
44
- echo " $( pwd) "
44
+ pwd
45
45
make -f Android.mk clean
46
46
make -f Android.mk
47
47
You can’t perform that action at this time.
0 commit comments