Fix Xcode template
Script didn't work when there is a space in the project name
This commit is contained in:
parent
e3d75f6d6a
commit
77ec92ce5e
@ -684,18 +684,18 @@ require () # $1 is a SFML module like 'system' or 'audio'
|
|||||||
# copy SFML libraries
|
# copy SFML libraries
|
||||||
if [ $frameworks ]
|
if [ $frameworks ]
|
||||||
then
|
then
|
||||||
ditto /Library/Frameworks/sfml-$1.framework $dest/sfml-$1.framework
|
ditto "/Library/Frameworks/sfml-$1.framework" "$dest/sfml-$1.framework"
|
||||||
elif [ $CONFIGURATION = "Debug" ]
|
elif [ $CONFIGURATION = "Debug" ]
|
||||||
then
|
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
|
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
|
fi
|
||||||
|
|
||||||
if [ $1 = "audio" ]
|
if [ $1 = "audio" ]
|
||||||
then
|
then
|
||||||
# copy sndfile framework too
|
# copy sndfile framework too
|
||||||
ditto /Library/Frameworks/sndfile.framework $dest/sndfile.framework
|
ditto "/Library/Frameworks/sndfile.framework" "$dest/sndfile.framework"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user