summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-02-02 22:05:41 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-02-02 22:05:41 +0000
commitbf36e62d67efc9fa49c9067b91b93935c3dde478 (patch)
treeb45f51a559f3f04818fd672c0c0216cdf687cb4d /x11-themes/gnome-themes/files
parentClean up old revisions. (diff)
downloadgentoo-2-bf36e62d67efc9fa49c9067b91b93935c3dde478.tar.gz
gentoo-2-bf36e62d67efc9fa49c9067b91b93935c3dde478.tar.bz2
gentoo-2-bf36e62d67efc9fa49c9067b91b93935c3dde478.zip
Fix bashisms, bug #256337. Clean up old revisions.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'x11-themes/gnome-themes/files')
-rw-r--r--x11-themes/gnome-themes/files/gnome-themes-2.24.3-bashism.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-themes/gnome-themes/files/gnome-themes-2.24.3-bashism.patch b/x11-themes/gnome-themes/files/gnome-themes-2.24.3-bashism.patch
new file mode 100644
index 000000000000..382766f24c18
--- /dev/null
+++ b/x11-themes/gnome-themes/files/gnome-themes-2.24.3-bashism.patch
@@ -0,0 +1,13 @@
+# https://bugs.gentoo.org/show_bug.cgi?id=256337
+# http://bugzilla.gnome.org/show_bug.cgi?id=550927
+--- a/common/mkiconlinks.sh 2008-09-04 17:15:42.000000000 -0500
++++ b/common/mkiconlinks.sh 2008-09-04 17:16:31.000000000 -0500
+@@ -16,7 +16,7 @@
+ while [ ! -z "$NEXTLINE" ] ; do
+
+ # Skip lines beginning with '#'
+- if [ ! "${NEXTLINE:0:1}" == '#' ]; then
++ if ! echo ${NEXTLINE} | grep -q "^#" ; then
+ #Extract first field, minus its trailing colon
+ ORIG_FILE=`echo $NEXTLINE | awk '/:/{print $1}' | sed -e 's/://'`
+