From: Fabian Groffen Date: Sat, 26 Sep 2009 18:50:47 +0000 (-0000) Subject: ahem, match shebang, not sheone X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f8efa7cf9c520a6e369575965d68c3865a972d98;p=portage.git ahem, match shebang, not sheone svn path=/main/branches/prefix/; revision=14440 --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 2f016d559..271015a79 100644 --- 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