summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rwxr-xr-xcommon/mkiconlinks.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/mkiconlinks.sh b/common/mkiconlinks.sh
index b1573780..b5249e42 100755
--- a/common/mkiconlinks.sh
+++ b/common/mkiconlinks.sh
@@ -16,7 +16,7 @@ read NEXTLINE
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/://'`