blob: e95c1a6f562f7fc894264b1574388697bd6cb2c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-aa,v 1.3 2008/10/27 13:30:13 wiz Exp $
--- 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/://'`
|