From 5312debe4f0f586ab4ae9f84ce723ecf122c3d2e Mon Sep 17 00:00:00 2001 From: Ella Stanforth Date: Tue, 19 Apr 2022 10:02:22 +0000 Subject: [PATCH] fix with bash --- iglupkg.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/iglupkg.sh b/iglupkg.sh index 00d691f..42afd7b 100755 --- a/iglupkg.sh +++ b/iglupkg.sh @@ -4,7 +4,10 @@ set -e export HOST_ARCH=$(uname -m) export HOST_TRIPLE="$HOST_ARCH-unknown-linux-musl" -command -V bad 2>/dev/null || bad() { shift; "$@" } +command -V bad 2>/dev/null || bad() { + shift + "$@" +} usage() { echo "usage: $(basename $0) [fbp]"