summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/interpreter.req2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/interpreter.req b/scripts/interpreter.req
index 3fee818cd..215bd5053 100755
--- a/scripts/interpreter.req
+++ b/scripts/interpreter.req
@@ -2,5 +2,5 @@
# TODO: handle #!/usr/bin/env somehow
while read filename; do
- sed -n -e '1s:^#![[:space:]]*\([^[:space:]]*\).*:\1:p' "$filename"
+ sed -n -e '1s:^#![[:space:]]*\(/[^[:space:]]\{1,\}\).*:\1:p' "$filename"
done