diff options
author | Elan Ruusamäe <[email protected]> | 2015-08-01 20:25:37 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-08-14 22:24:33 +0200 |
commit | 3b95c208b09f13a98810ca875571906b997a4611 (patch) | |
tree | 9301dbcce84deb67173c02226b41fff566d82fe0 | |
parent | 6314e9b71ce6bd08358762ce97cb9bd8a661704d (diff) | |
download | mate-themes-3b95c208b09f13a98810ca875571906b997a4611.tar.bz2 mate-themes-3b95c208b09f13a98810ca875571906b997a4611.tar.xz |
kill bashism
-rwxr-xr-x | common/mkiconlinks.sh | 2 |
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/://'` |