From 8372642cb5f7c460e448334b3082720f32926c31 Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Thu, 2 Feb 2023 08:18:26 +0100 Subject: Fix shell quoting for $@ to prevent word-splitting --- mingw-w64-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit v1.2.3