Skip to content

Commit 11b5303

Browse files
committed
Merge pull request #258 from NativeScript/kerezov/fix-bash-pass-arguments-to-node
Fix Bash passing unescaped arguments to node
2 parents 1441d07 + 87fcccc commit 11b5303

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/nativescript

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

33
AB_DIR="`dirname \"$0\"`"
4-
node "$AB_DIR/nativescript.js" $@
4+
node "$AB_DIR/nativescript.js" "$@"

bin/tns

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22

33
AB_DIR="`dirname \"$0\"`"
4-
node "$AB_DIR/nativescript.js" $@
4+
node "$AB_DIR/nativescript.js" "$@"

0 commit comments

Comments
 (0)