Author: patrys                       Date: Fri Sep 12 23:43:31 2008 GMT
Module: SOURCES                       Tag: DEVEL
---- Log message:
- remove bash substring matching

---- Files affected:
SOURCES:
   gnome-themes-bashizm.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gnome-themes-bashizm.patch
diff -u /dev/null SOURCES/gnome-themes-bashizm.patch:1.1.2.1
--- /dev/null   Sat Sep 13 01:43:31 2008
+++ SOURCES/gnome-themes-bashizm.patch  Sat Sep 13 01:43:25 2008
@@ -0,0 +1,11 @@
+--- gnome-themes-2.23.92/common/mkiconlinks.sh~        2008-09-08 
17:29:26.000000000 +0200
++++ gnome-themes-2.23.92/common/mkiconlinks.sh 2008-09-13 01:33:49.083037080 
+0200
+@@ -16,7 +16,7 @@
+ while [ ! -z "$NEXTLINE" ] ; do
+ 
+       # Skip lines beginning with '#'
+-      if [ ! "${NEXTLINE:0:1}" == '#' ]; then
++      if [ ! "$(echo $NEXTLINE| cut -c1)" == '#' ]; then
+               #Extract first field, minus its trailing colon
+               ORIG_FILE=`echo $NEXTLINE | awk '/:/{print $1}' | sed -e 
's/://'`
+ 
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to