summaryrefslogtreecommitdiff
path: root/bin/sbang
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sbang')
-rwxr-xr-xbin/sbang2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/sbang b/bin/sbang
index 0b883a5feb..ce4df4327c 100755
--- a/bin/sbang
+++ b/bin/sbang
@@ -104,6 +104,8 @@ lines=0
while read line && ((lines < 2)) ; do
if [[ "$line" = '#!'* ]]; then
interpreter="${line#\#!}"
+ elif [[ "$line" = '//!'*node* ]]; then
+ interpreter="${line#//!}"
elif [[ "$line" = '--!'*lua* ]]; then
interpreter="${line#--!}"
fi