Skip to content

Commit 5965c77

Browse files
committed
Fix shellcheck warnings
1 parent 06eefd1 commit 5965c77

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ci/ios/run-in-vm.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ sleep 10
2424

2525
# apparently, there's a difference between piping into zsh like this and doing
2626
# 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"
2828
script_status=$?
2929

3030
kill $vm_pid

dist-assets/pkg-scripts/postinstall

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -eu
55
LOG_DIR=/var/log/mullvad-vpn
66

77
mkdir -p $LOG_DIR
8-
exec 2>&1 > $LOG_DIR/postinstall.log
8+
exec > $LOG_DIR/postinstall.log 2>&1
99

1010
echo "Running postinstall at $(date)"
1111

dist-assets/pkg-scripts/preinstall

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ INSTALL_DIR=$2
77

88
mkdir -p $LOG_DIR
99
chmod 755 $LOG_DIR
10-
exec 2>&1 > $LOG_DIR/preinstall.log
10+
exec > $LOG_DIR/preinstall.log 2>&1
1111

1212
echo "Running preinstall at $(date)"
1313

wireguard/libwg/build-android.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ for arch in ${ARCHITECTURES:-armv7 aarch64 x86_64 i686}; do
4141
esac
4242

4343
# Build Wireguard-Go
44-
echo "$(pwd)"
44+
pwd
4545
make -f Android.mk clean
4646
make -f Android.mk
4747

0 commit comments

Comments
 (0)