timthedevguy / BGHUDAppKit

* BGHUDAPPKIT is no longer under development by me, I hope that the community will keep it alive and going as I no longer have time to dedicate to the project** The missing HUD controls. Please scroll down to read the readme file for an important notice concerning the future of BGHUDAppKit. Note that there are multiple versions available, 10.5+, 10.6.7, and now 10.7. As soon as I learn how I'll make these all one code base if possible.
http://www.binarymethod.com/
312 stars 57 forks source link

the path to the install_name_tool is invalid on snow leopard #1

Closed catshow closed 15 years ago

catshow commented 15 years ago

change the path to /Developer/usr/bin/install_name_tool

timthedevguy commented 15 years ago

Confirmed

Those of us that did not do a clean leopard install will still function fine, I'm trying to figure out how to do a conditional OS version in the shell script, then it will be fixed.

unknowndomain commented 15 years ago

http://www.jiltin.com/index.php/scripts-unix/bash-helphow-do-i-check-if-a-directory-exists-and-display-that-it-doesnt-using-bash/

unknowndomain commented 15 years ago

Soloution...

if [ -f "/usr/bin/install_name_tool" ]; then

    /usr/bin/install_name_tool -change @executable_path/../Frameworks/BGHUDAppKit.framework/Versions/A/BGHUDAppKit @loader_path/../../../../../../../BGHUDAppKit.framework/Versions/A/BGHUDAppKit "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.ibplugin/Contents/MacOS/${PRODUCT_NAME}"

else

    /Developer/usr/bin/install_name_tool -change @executable_path/../Frameworks/BGHUDAppKit.framework/Versions/A/BGHUDAppKit @loader_path/../../../../../../../BGHUDAppKit.framework/Versions/A/BGHUDAppKit "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.ibplugin/Contents/MacOS/${PRODUCT_NAME}"

fi
timthedevguy commented 15 years ago

Nice...thanks for the info, I'll get the put into the repo ASAP. (Net has been down for a few days grrrrrrr)

timthedevguy commented 15 years ago

Fixed