Skip to content

Commit d4b21af

Browse files
committed
Fix non-quoted DYLD_INSERT_LIBRARIES expansion
1 parent e52bc62 commit d4b21af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets/nix/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ if [ -n "${is_apple_silicon}" ]; then
324324
# the executable is universal, supporting both x86_64 and arm64, MacOs will still run it as x86_64
325325
# if the parent process is running as x86.
326326
# arch also strips the DYLD_INSERT_LIBRARIES env var so we have to pass that in manually
327-
arch -e DYLD_INSERT_LIBRARIES=$DYLD_INSERT_LIBRARIES "$executable_path" "$@"
327+
arch -e DYLD_INSERT_LIBRARIES="${DYLD_INSERT_LIBRARIES}" "$executable_path" "$@"
328328
else
329329
exec "$executable_path" "$@"
330330
fi

0 commit comments

Comments
 (0)