Changeset 667e434


Ignore:
Timestamp:
Sep 13, 2011 1:18:58 AM (9 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
8ddc34d
Parents:
98c44f1
Message:

Fix "bashisms" in tanuki's script

File:
1 edited

Legend:

Unmodified
Added
Removed
  • installer/resources/i2prouter

    r98c44f1 r667e434  
    322322    OS_VER=`sw_vers | grep 'ProductVersion:' | grep -o '[0-9]*\.[0-9]*\.[0-9]*'`
    323323    DIST_ARCH="universal"
    324     if [[ "$OS_VER" < "10.5.0" ]]
     324    if [ "$OS_VER" -lt "10.5.0" ]
    325325    then
    326326        DIST_BITS="32"
     
    931931    # If launchd is set to run the daemon already at Load, we don't need to call start
    932932    getpid
    933     if [ "X$pid" == "X" ] ; then
     933    if [ "X$pid" = "X" ] ; then
    934934        launchctl start ${APP_PLIST_BASE}
    935935    fi
Note: See TracChangeset for help on using the changeset viewer.