summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-02-10 21:56:33 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-02-11 15:44:44 +0200
commit06224459a52671e046e2d347ca887fa96a9228b4 (patch)
treecd2e2e10dd8a812d0e10b247c86b6514fe74fd6f /scripts
parent398ae27985ff854c627353cbd578a21c1dff3dcd (diff)
downloadlibrpm-tizen-06224459a52671e046e2d347ca887fa96a9228b4.tar.gz
librpm-tizen-06224459a52671e046e2d347ca887fa96a9228b4.tar.bz2
librpm-tizen-06224459a52671e046e2d347ca887fa96a9228b4.zip
Allow whitespace between #! and the interpreter.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/interpreter.req2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/interpreter.req b/scripts/interpreter.req
index cbf4002ae..3fee818cd 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:]]*\).*:\1:p' "$filename"
+ sed -n -e '1s:^#![[:space:]]*\([^[:space:]]*\).*:\1:p' "$filename"
done