use pwd and quote it
Seems more portable and safe
This commit is contained in:
parent
5ef1c44e07
commit
18be4910d8
1 changed files with 1 additions and 1 deletions
|
@ -43,5 +43,5 @@ if [ -n "$wasm" ]; then
|
|||
# Use --force-interpreter to avoid wasmedge running AOT native
|
||||
# instructions, which is insecure if the WASM binary comes from
|
||||
# an untrusted source.
|
||||
wasmedge --dir /:$PWD --force-interpreter -- "$wasm" "$@" >&2
|
||||
wasmedge --dir "/:`pwd`" --force-interpreter -- "$wasm" "$@" >&2
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue