diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2010-02-10 21:58:43 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-02-11 15:45:23 +0200 |
commit | 38de3b54f8af1bf91eda2dfd840a36e0808307f1 (patch) | |
tree | c3921fbb9198e84bd56dc4928ba9433ec2189754 /scripts | |
parent | 06224459a52671e046e2d347ca887fa96a9228b4 (diff) | |
download | librpm-tizen-38de3b54f8af1bf91eda2dfd840a36e0808307f1.tar.gz librpm-tizen-38de3b54f8af1bf91eda2dfd840a36e0808307f1.tar.bz2 librpm-tizen-38de3b54f8af1bf91eda2dfd840a36e0808307f1.zip |
Emit dependencies only to interpreters with absolute paths.
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 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 |