Update of /cvsroot/pure-data/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19457
Added Files: find-wish.app.sh Log Message: fixed up the tracking down of the Wish.app to support both Mac OS X/Intel and the auto-builds
--- NEW FILE: find-wish.app.sh --- #!/bin/sh
cvs_root_dir=`echo $0 | sed 's|(.*)/.*$|\1|'`/.. cd $cvs_root_dir cvs_root_dir=`pwd`
TCLTK=`/bin/ls -1r ${cvs_root_dir}/packages/darwin_app/TclTkAquaStandalone-8.?.*.dmg|head -n 1|sed 's|.*/(.*).dmg|\1|'`
if [ "x${TCLTK}" != "x" ]; then test -d /Volumes/${TCLTK} || \ hdiutil mount ${cvs_root_dir}/packages/darwin_app/${TCLTK}.dmg echo "/Volumes/${TCLTK}" else if [ -d "/Library/Frameworks/Tk.framework/Resources" ]; then echo "/Library/Frameworks/Tk.framework/Resources" else if [ -d "/System/Library/Frameworks/Tk.framework/Resources" ]; then echo "/System/Library/Frameworks/Tk.framework/Resources" fi fi fi
exit