diff options
author | No_name <[email protected]> | 2015-08-03 10:53:07 +0200 |
---|---|---|
committer | No_name <[email protected]> | 2015-08-03 10:53:07 +0200 |
commit | dfae15c05f725995d8afaa88859528191139b2ab (patch) | |
tree | a954cec32eab9e32125b80047fd4f3fac785bf46 | |
parent | dddfe0bcb142debc220fbd1b24567138588fda13 (diff) | |
parent | ff01c931f012066153dec7fb061c9f0b0b76b7d5 (diff) | |
download | mate-themes-dfae15c05f725995d8afaa88859528191139b2ab.tar.bz2 mate-themes-dfae15c05f725995d8afaa88859528191139b2ab.tar.xz |
Merge pull request #91 from glensc/bashism
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/://'` |