projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28079ad
)
ahem, match shebang, not sheone
author
Fabian Groffen
<grobian@gentoo.org>
Sat, 26 Sep 2009 18:50:47 +0000
(18:50 -0000)
committer
Fabian Groffen
<grobian@gentoo.org>
Sat, 26 Sep 2009 18:50:47 +0000
(18:50 -0000)
svn path=/main/branches/prefix/; revision=14440
bin/misc-functions.sh
patch
|
blob
|
history
diff --git
a/bin/misc-functions.sh
b/bin/misc-functions.sh
index 2f016d559e8822bc41c090b8c34628454be0eb8f..271015a792cdeae92fe03baae95b18e28ae0954c 100644
(file)
--- a/
bin/misc-functions.sh
+++ b/
bin/misc-functions.sh
@@
-499,7
+499,7
@@
install_qa_check() {
# can we just fix it(tm)?
if [[ -x ${EPREFIX}${line[0]} || -x ${ED}${line[0]} ]] ; then
ewarn "prefixing shebang of ${fn#${D}}"
- sed -i -e '1s:^#
1
\?:#!'"${EPREFIX}"':' "${fn}"
+ sed -i -e '1s:^#
!
\?:#!'"${EPREFIX}"':' "${fn}"
continue
fi
# all else is an error if the found script is in $PATH