Skip to content

Commit 3524583

Browse files
committed
Fix passing multiple arguments to bash -c as a command
1 parent 3d8c2ea commit 3524583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/crossbuild

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,5 @@ if [ -n "${CROSS_TRIPLE}" -a -f "${CROSS_ROOT}/bin/$binary" ]; then
5151
fi
5252

5353
# finally exec
54-
exec "${binary}" $@
54+
exec "${binary}" "$@"
5555
exit $?

0 commit comments

Comments
 (0)