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