diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2010-02-10 21:56:33 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-02-11 15:44:44 +0200 |
commit | 06224459a52671e046e2d347ca887fa96a9228b4 (patch) | |
tree | cd2e2e10dd8a812d0e10b247c86b6514fe74fd6f /scripts | |
parent | 398ae27985ff854c627353cbd578a21c1dff3dcd (diff) | |
download | librpm-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-x | scripts/interpreter.req | 2 |
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 |