Skip to content

Commit 87fcccc

Browse files
author
Dimitar Kerezov
committed
Fix Bash passing unescaped arguments to node
This fixes #257
1 parent 32dfc7b commit 87fcccc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bin/nativescript

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)