blob: 382766f24c18da0df6143b9922aeebb3b7d434af (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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/://'`
|