diff options
author | Elan Ruusamäe <[email protected]> | 2015-08-01 20:25:37 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-08-14 22:24:19 +0200 |
commit | ec5923f82b66f5825122abb25a90566e109dac0c (patch) | |
tree | 8a820d890c9da378fda0f42d1f8509991792f82e /common/mkiconlinks.sh | |
parent | 433f141f842fc50364580dcb2487a6e593546c2c (diff) | |
download | mate-themes-ec5923f82b66f5825122abb25a90566e109dac0c.tar.bz2 mate-themes-ec5923f82b66f5825122abb25a90566e109dac0c.tar.xz |
kill bashism
Diffstat (limited to 'common/mkiconlinks.sh')
-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/://'` |