Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=0d51326dccb48214a71e9bf38f6c5bc438f5c346
commit 0d51326dccb48214a71e9bf38f6c5bc438f5c346 Author: Miklos Vajna <vmik...@frugalware.org> Date: Mon Jan 11 00:49:26 2010 +0100 include/util.sh: quote tr params in check_option() diff --git a/source/include/util.sh b/source/include/util.sh index 69b205b..5a9e0ff 100644 --- a/source/include/util.sh +++ b/source/include/util.sh @@ -1170,8 +1170,8 @@ Fuse() check_option() { local i for i in ${optio...@]}; do - local uc=`echo $i | tr [:lower:] [:upper:]` - local lc=`echo $i | tr [:upper:] [:lower:]` + local uc=`echo $i | tr '[:lower:]' '[:upper:]'` + local lc=`echo $i | tr '[:upper:]' '[:lower:]'` if [ "$uc" = "$1" -o "$lc" = "$1" ]; then echo $1 return _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git