diff options
author | Elan Ruusamäe <[email protected]> | 2015-08-01 20:25:37 +0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2015-08-14 22:24:45 +0200 |
commit | decdafea7beae993902a10edc69521e42c7e3890 (patch) | |
tree | 6b3f3a42df626aa994eda8d768e00fa2a59af53b /common/mkiconlinks.sh | |
parent | 784f0867f511452d662c32ea5f8ffd3779426ef4 (diff) | |
download | mate-themes-decdafea7beae993902a10edc69521e42c7e3890.tar.bz2 mate-themes-decdafea7beae993902a10edc69521e42c7e3890.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/://'` |