From 77ec92ce5e4f27111a9abecc56f74e339046b2d2 Mon Sep 17 00:00:00 2001 From: Marco Antognini Date: Tue, 14 Feb 2012 23:44:04 +0100 Subject: [PATCH] Fix Xcode template Script didn't work when there is a space in the project name --- .../SFML Application Base.xctemplate/TemplateInfo.plist | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist b/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist index f89e609f..9201debf 100644 --- a/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist +++ b/tools/xcode/templates/SFML/SFML Application Base.xctemplate/TemplateInfo.plist @@ -684,18 +684,18 @@ require () # $1 is a SFML module like 'system' or 'audio' # copy SFML libraries if [ $frameworks ] then - ditto /Library/Frameworks/sfml-$1.framework $dest/sfml-$1.framework + ditto "/Library/Frameworks/sfml-$1.framework" "$dest/sfml-$1.framework" elif [ $CONFIGURATION = "Debug" ] then - ditto /usr/local/lib/libsfml-$1-d.2.dylib $dest/libsfml-$1-d.2.dylib + ditto "/usr/local/lib/libsfml-$1-d.2.dylib" "$dest/libsfml-$1-d.2.dylib" else - ditto /usr/local/lib/libsfml-$1.2.dylib $dest/libsfml-$1.2.dylib + ditto "/usr/local/lib/libsfml-$1.2.dylib" "$dest/libsfml-$1.2.dylib" fi if [ $1 = "audio" ] then # copy sndfile framework too - ditto /Library/Frameworks/sndfile.framework $dest/sndfile.framework + ditto "/Library/Frameworks/sndfile.framework" "$dest/sndfile.framework" fi fi }