Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r14440 - main/branches/prefix/bin
Date: Sat, 26 Sep 2009 18:50:51
Message-Id: E1MrcM3-0001gi-E0@stork.gentoo.org
1 Author: grobian
2 Date: 2009-09-26 18:50:47 +0000 (Sat, 26 Sep 2009)
3 New Revision: 14440
4
5 Modified:
6 main/branches/prefix/bin/misc-functions.sh
7 Log:
8 ahem, match shebang, not sheone
9
10 Modified: main/branches/prefix/bin/misc-functions.sh
11 ===================================================================
12 --- main/branches/prefix/bin/misc-functions.sh 2009-09-26 18:46:54 UTC (rev 14439)
13 +++ main/branches/prefix/bin/misc-functions.sh 2009-09-26 18:50:47 UTC (rev 14440)
14 @@ -499,7 +499,7 @@
15 # can we just fix it(tm)?
16 if [[ -x ${EPREFIX}${line[0]} || -x ${ED}${line[0]} ]] ; then
17 ewarn "prefixing shebang of ${fn#${D}}"
18 - sed -i -e '1s:^#1 \?:#!'"${EPREFIX}"':' "${fn}"
19 + sed -i -e '1s:^#! \?:#!'"${EPREFIX}"':' "${fn}"
20 continue
21 fi
22 # all else is an error if the found script is in $PATH