- this is not actually a csh-script, but a sh-script [as it should be!]

- slightly streamlined syntax

svn path=/trunk/boinc/; revision=8661
This commit is contained in:
Reinhard Prix 2005-10-12 12:29:56 +00:00
parent 34686764e3
commit e3b831b18d
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#!/bin/csh
#!/bin/sh
##
# Script for building Macintosh BOINC Manager, Core Client and libraries
@ -23,7 +23,7 @@
##
if [[ ($1 == "-dev") || ($2 == "-dev") ]]; then
if [ "$1" = "-dev" ] || [ "$2" = "-dev" ]; then
echo "Development (debug) build"
style="Development"
else
@ -31,17 +31,17 @@ echo "Deployment (release) build"
style="Deployment"
fi
if [[ ($1 == "-noclean") || ($2 == "-noclean") ]]; then
if [ "$1" = "-noclean" ] || [ "$2" = "-noclean" ]; then
doclean=""
else
echo "Clean all"
doclean="clean "
fi
if [[ -d /Developer/SDKs/MacOSX10.3.9.sdk/ ]]; then
if [ -d /Developer/SDKs/MacOSX10.3.9.sdk/ ]; then
echo "Building BOINC under System 10.4"
sdkname="/Developer/SDKs/MacOSX10.3.9.sdk"
elif [[ -d /Developer/SDKs/MacOSX10.3.0.sdk/ ]]; then
elif [ -d /Developer/SDKs/MacOSX10.3.0.sdk/ ]; then
echo "Building BOINC under System 10.3"
sdkname="/Developer/SDKs/MacOSX10.3.0.sdk"
else