Enclose "tr" parameters in quotes

This commit is contained in:
kytv
2011-12-11 11:50:41 +00:00
parent 27d9616126
commit d9f5a8621d
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ NetBSD*|FreeBSD*|OpenBSD*)
NAME="libjbigi"
TYPE="so"
PLATFORM_LIST=""
BSDTYPE="`uname -s | tr [A-Z] [a-z]`"
BSDTYPE=$(uname -s | tr "[A-Z]" "[a-z]")
arch=$(uname -m | cut -f1 -d" ")
case ${arch} in
i[3-6]86)

View File

@@ -24,7 +24,7 @@ Darwin*)
LINKFLAGS="-dynamiclib -framework JavaVM"
LIBFILE="libjbigi.jnilib";;
SunOS*|OpenBSD*|NetBSD*|FreeBSD*|Linux*)
UNIXTYPE="`uname -s | tr [A-Z] [a-z]`"
UNIXTYPE=$(uname -s | tr "[A-Z]" "[a-z]")
if [ $UNIXTYPE = "sunos" ]; then
UNIXTYPE="solaris"
elif [ $UNIXTYPE = "freebsd" ]; then