aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Perl <m@thp.io>2023-02-02 08:18:26 +0100
committerZeranoe <zeranoe@gmail.com>2023-02-04 16:08:10 -0500
commit8372642cb5f7c460e448334b3082720f32926c31 (patch)
treefc600d4db64de883102cded945a27025d67ab458
parent4aad2e83aed7692c0d6d7941597a6a71ea7abb3d (diff)
Fix shell quoting for $@ to prevent word-splitting
-rwxr-xr-xmingw-w64-build2
1 files changed, 1 insertions, 1 deletions
diff --git a/mingw-w64-build b/mingw-w64-build
index 300d5d3..bc8139e 100755
--- a/mingw-w64-build
+++ b/mingw-w64-build
@@ -88,7 +88,7 @@ execute()
printf "(%d/%d): %s\n" "$CURRENT_STEP" "$TOTAL_STEPS" "$info_msg"
CURRENT_STEP=$((CURRENT_STEP + 1))
fi
- $@ >>"$LOG_FILE" 2>&1 || error_exit "$error_msg, check $LOG_FILE for details"
+ "$@" >>"$LOG_FILE" 2>&1 || error_exit "$error_msg, check $LOG_FILE for details"
}
create_dir()