Skip to content

Commit

Permalink
Fix Xcode template
Browse files Browse the repository at this point in the history
Script didn't work when there is a space in the project name
  • Loading branch information
mantognini committed Feb 14, 2012
1 parent e3d75f6 commit 77ec92c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 77ec92c

Please sign in to comment.