forked from I2P_Developers/i2p.i2p
Fix "bashisms" in tanuki's script
This commit is contained in:
@ -321,7 +321,7 @@ if [ "$DIST_OS" = "macosx" ]
|
||||
then
|
||||
OS_VER=`sw_vers | grep 'ProductVersion:' | grep -o '[0-9]*\.[0-9]*\.[0-9]*'`
|
||||
DIST_ARCH="universal"
|
||||
if [[ "$OS_VER" < "10.5.0" ]]
|
||||
if [ "$OS_VER" -lt "10.5.0" ]
|
||||
then
|
||||
DIST_BITS="32"
|
||||
else
|
||||
@ -930,7 +930,7 @@ macosxstart() {
|
||||
fi
|
||||
# If launchd is set to run the daemon already at Load, we don't need to call start
|
||||
getpid
|
||||
if [ "X$pid" == "X" ] ; then
|
||||
if [ "X$pid" = "X" ] ; then
|
||||
launchctl start ${APP_PLIST_BASE}
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user