Fix for shebang
This commit is contained in:
parent
6ba2b8b36d
commit
091ca13e8f
@ -127,6 +127,8 @@ external:
|
|||||||
$tree = (SyntaxTree {: for ($k = $v) in $tree: add $k = $v})
|
$tree = (SyntaxTree {: for ($k = $v) in $tree: add $k = $v})
|
||||||
$tree.version = $end_version
|
$tree.version = $end_version
|
||||||
if $tree.shebang:
|
if $tree.shebang:
|
||||||
|
unless ($end_version is "Text"):
|
||||||
|
$end_version = ($end_version, joined with ".")
|
||||||
$tree.shebang = "#!/usr/bin/env nomsu -V\$end_version\n"
|
$tree.shebang = "#!/usr/bin/env nomsu -V\$end_version\n"
|
||||||
|
|
||||||
return $tree
|
return $tree
|
||||||
|
Loading…
Reference in New Issue
Block a user