aboutsummaryrefslogtreecommitdiff
path: root/lib/tools
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-02-02 19:49:59 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-02-02 19:49:59 -0800
commit6212e1207f65e5b270980c8f225e0cdcd43f69e9 (patch)
treef1df9d75e9bfcc14a8c8cfcc5be0e3a142c48ffd /lib/tools
parent0e90d68efabf613e79eb85b7349d6270901e007a (diff)
Better shebang pattern matcher
Diffstat (limited to 'lib/tools')
-rwxr-xr-xlib/tools/test.nom3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tools/test.nom b/lib/tools/test.nom
index 945ce8c..9aecd94 100755
--- a/lib/tools/test.nom
+++ b/lib/tools/test.nom
@@ -19,8 +19,7 @@ command line program with $args:
$version =
$file, matching ("
#![^
- ]* nomsu %-V[ ]*([^
- ]*)
+ ]* nomsu %-V[ ]*([%d.]*)
")
$file_tests = []
for $src = $test in (nomsu environment, Module $filename).TESTS: