summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2010-02-10 21:58:43 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-02-11 15:45:23 +0200
commit38de3b54f8af1bf91eda2dfd840a36e0808307f1 (patch)
treec3921fbb9198e84bd56dc4928ba9433ec2189754 /scripts
parent06224459a52671e046e2d347ca887fa96a9228b4 (diff)
downloadlibrpm-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-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