blob: bcfa7a6449f65f25ca72aa702a1fe33d4f6509bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-aa,v 1.5 2009/05/19 23:54:49 wiz Exp $
http://bugzilla.gnome.org/show_bug.cgi?id=583283
--- common/mkiconlinks.sh.orig 2008-09-22 15:09:10.000000000 +0000
+++ common/mkiconlinks.sh
@@ -16,7 +16,7 @@ read NEXTLINE
while [ ! -z "$NEXTLINE" ] ; do
# Skip lines beginning with '#'
- if [ ! "${NEXTLINE:0:1}" == '#' ]; then
+ if [ ! X"`echo ${NEXTLINE} | head -c 1`" = X'#' ]; then
#Extract first field, minus its trailing colon
ORIG_FILE=`echo $NEXTLINE | awk '/:/{print $1}' | sed -e 's/://'`
|