diff options
author | Thomas Perl <m@thp.io> | 2023-02-02 08:18:26 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-04-20 15:44:29 +0200 |
commit | 4267bbfa3d22c0d9329cce16aad23d678818a7ed (patch) | |
tree | cc515691eccb02c4dae9d987a11d325c04eb8096 | |
parent | d5c2be4c308b6fadf85ef3ff84d5dd76a3ca4823 (diff) |
Fix shell quoting for $@ to prevent word-splitting
-rwxr-xr-x | mingw-w64-build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mingw-w64-build b/mingw-w64-build index 83cdb1f..1ccc7b8 100755 --- a/mingw-w64-build +++ b/mingw-w64-build @@ -100,7 +100,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() |