mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 05:52:03 +00:00
make-macosx-app.sh doesn't trust the output of 'which', so check for a hard-coded path
This commit is contained in:
parent
ef7031b993
commit
ea49d5d2da
1 changed files with 2 additions and 5 deletions
|
@ -306,14 +306,11 @@ BUNDLEDIR="${BUILT_PRODUCTS_DIR}/${EXECUTABLE_FOLDER_PATH}"
|
||||||
# simply copying here might stomp on other architectures....
|
# simply copying here might stomp on other architectures....
|
||||||
function action()
|
function action()
|
||||||
{
|
{
|
||||||
HAS_LIPO=`which lipo`
|
|
||||||
HAS_LIBTOOL=`which libtool`
|
|
||||||
|
|
||||||
#echo "action ${1} ${2}"
|
#echo "action ${1} ${2}"
|
||||||
|
|
||||||
if [ HAS_LIPO != "" ]; then
|
if [ -x "/usr/bin/lipo" ]; then
|
||||||
lipo -create -o "${1}" "${2}"
|
lipo -create -o "${1}" "${2}"
|
||||||
#elif [ HAS_LIBTOOL != "" ]; then
|
#elif [ "/usr/bin/libtool" ]; then
|
||||||
#libtool -dynamic -o ${1} ${2}
|
#libtool -dynamic -o ${1} ${2}
|
||||||
else
|
else
|
||||||
cp "${2}" "${1}"
|
cp "${2}" "${1}"
|
||||||
|
|
Loading…
Reference in a new issue