Changeset d9f5a86


Ignore:
Timestamp:
Dec 11, 2011 11:50:41 AM (9 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
5f81e923
Parents:
27d9616
Message:

Enclose "tr" parameters in quotes

Location:
core/c/jbigi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • core/c/jbigi/mbuild-all.sh

    r27d9616 rd9f5a86  
    115115        TYPE="so"
    116116        PLATFORM_LIST=""
    117         BSDTYPE="`uname -s | tr [A-Z] [a-z]`"
     117        BSDTYPE=$(uname -s | tr "[A-Z]" "[a-z]")
    118118        arch=$(uname -m | cut -f1 -d" ")
    119119        case ${arch} in
  • core/c/jbigi/mbuild_jbigi.sh

    r27d9616 rd9f5a86  
    2525        LIBFILE="libjbigi.jnilib";;
    2626SunOS*|OpenBSD*|NetBSD*|FreeBSD*|Linux*)
    27         UNIXTYPE="`uname -s | tr [A-Z] [a-z]`"
     27        UNIXTYPE=$(uname -s | tr "[A-Z]" "[a-z]")
    2828        if [ $UNIXTYPE = "sunos" ]; then
    2929                UNIXTYPE="solaris"
Note: See TracChangeset for help on using the changeset viewer.