Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-themes/gnome-themes/files: gnome-themes-2.24.3-bashism.patch
Date: Mon, 02 Feb 2009 22:05:43
Message-Id: E1LU6vF-0007zb-Oq@stork.gentoo.org
1 eva 09/02/02 22:05:41
2
3 Added: gnome-themes-2.24.3-bashism.patch
4 Log:
5 Fix bashisms, bug #256337. Clean up old revisions.
6 (Portage version: 2.2_rc23/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 x11-themes/gnome-themes/files/gnome-themes-2.24.3-bashism.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/gnome-themes/files/gnome-themes-2.24.3-bashism.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-themes/gnome-themes/files/gnome-themes-2.24.3-bashism.patch?rev=1.1&content-type=text/plain
13
14 Index: gnome-themes-2.24.3-bashism.patch
15 ===================================================================
16 # https://bugs.gentoo.org/show_bug.cgi?id=256337
17 # http://bugzilla.gnome.org/show_bug.cgi?id=550927
18 --- a/common/mkiconlinks.sh 2008-09-04 17:15:42.000000000 -0500
19 +++ b/common/mkiconlinks.sh 2008-09-04 17:16:31.000000000 -0500
20 @@ -16,7 +16,7 @@
21 while [ ! -z "$NEXTLINE" ] ; do
22
23 # Skip lines beginning with '#'
24 - if [ ! "${NEXTLINE:0:1}" == '#' ]; then
25 + if ! echo ${NEXTLINE} | grep -q "^#" ; then
26 #Extract first field, minus its trailing colon
27 ORIG_FILE=`echo $NEXTLINE | awk '/:/{print $1}' | sed -e 's/://'`