From f8efa7cf9c520a6e369575965d68c3865a972d98 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 26 Sep 2009 18:50:47 +0000 Subject: [PATCH] ahem, match shebang, not sheone svn path=/main/branches/prefix/; revision=14440 --- bin/misc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2