summaryrefslogtreecommitdiff
path: root/common/mkiconlinks.sh
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-08-10 13:28:27 +0200
committerraveit65 <[email protected]>2015-08-10 13:28:27 +0200
commit571a1c7c442ba1c748b3ab15fcc821b728c02b8c (patch)
tree229f3bf9cb9e99ea7023bb2645065b50591412fe /common/mkiconlinks.sh
parent7e68cd715d088721449b05393148f9666cd7e124 (diff)
parentdfae15c05f725995d8afaa88859528191139b2ab (diff)
downloadmate-themes-571a1c7c442ba1c748b3ab15fcc821b728c02b8c.tar.bz2
mate-themes-571a1c7c442ba1c748b3ab15fcc821b728c02b8c.tar.xz
Merge branch 'master' of github.com:mate-desktop/mate-themes
Diffstat (limited to 'common/mkiconlinks.sh')
-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/://'`