|
From: <and...@us...> - 2006-03-27 18:41:32
|
Revision: 1159 Author: andreradke Date: 2006-03-27 10:41:14 -0800 (Mon, 27 Mar 2006) ViewCVS: http://svn.sourceforge.net/frontierkernel/?rev=1159&view=rev Log Message: ----------- In postlinking.sh and the associated shell script build phase of the Xcode project, deal with the possibility that the path to the working copy might contain whitespace. Modified Paths: -------------- Frontier/trunk/build_XCode/Frontier.xcode/project.pbxproj Frontier/trunk/build_XCode/tools/postlinking.sh Modified: Frontier/trunk/build_XCode/Frontier.xcode/project.pbxproj =================================================================== (Binary files differ) Modified: Frontier/trunk/build_XCode/tools/postlinking.sh =================================================================== --- Frontier/trunk/build_XCode/tools/postlinking.sh 2006-03-27 18:15:00 UTC (rev 1158) +++ Frontier/trunk/build_XCode/tools/postlinking.sh 2006-03-27 18:41:14 UTC (rev 1159) @@ -25,32 +25,29 @@ # go to tools directory currdir=`pwd` -cd ${SRCROOT}/tools/ +cd "${SRCROOT}/tools/" # pick up preprocessor definitions from target settings, e.g. "PIKE=1" preprocessor_defs=`echo ${GCC_PREPROCESSOR_DEFINITIONS} | sed -e "s/[A-Z0-9_][A-Z0-9_=]*/-D&/g"` -# collect compiler flags in one string for readability -cflags="${preprocessor_defs} -I${SRCROOT}/../Common/headers" - # set environment variable to stop cc from complaining export MACOSX_DEPLOYMENT_TARGET="10.1" # extract the APP_VERSION_STRING -cc ${cflags} -o appversion appversion.c +cc ${preprocessor_defs} -I"${SRCROOT}/../Common/headers" -o appversion appversion.c version_str=`./appversion` echo "Using version string: ${version_str}" # extract the copyright_year_string -cc ${cflags} -o appcopyright appcopyright.c +cc ${preprocessor_defs} -I"${SRCROOT}/../Common/headers" -o appcopyright appcopyright.c copyright_str=`./appcopyright` echo "Using copyright string: ${copyright_str}" # clean up -rm appversion appcopyright +rm -f appversion appcopyright # revert to previous working directory -cd ${currdir} +cd "${currdir}" ################################################## This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |