projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0622445
)
Emit dependencies only to interpreters with absolute paths.
author
Ville Skyttä
<ville.skytta@iki.fi>
Wed, 10 Feb 2010 19:58:43 +0000
(21:58 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 11 Feb 2010 13:45:23 +0000
(15:45 +0200)
scripts/interpreter.req
patch
|
blob
|
history
diff --git
a/scripts/interpreter.req
b/scripts/interpreter.req
index
3fee818
..
215bd50
100755
(executable)
--- 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