aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/find-wish.app.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/find-wish.app.sh b/scripts/find-wish.app.sh
index 2e9e48f8..6ea50da9 100755
--- a/scripts/find-wish.app.sh
+++ b/scripts/find-wish.app.sh
@@ -4,11 +4,11 @@ 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|'`
+TCLTK="$1"
if [ "x${TCLTK}" != "x" ]; then
test -d /Volumes/${TCLTK} || \
- hdiutil mount ${cvs_root_dir}/packages/darwin_app/${TCLTK}.dmg
+ hdiutil mount -quiet ${cvs_root_dir}/packages/darwin_app/${TCLTK}.dmg
echo "/Volumes/${TCLTK}"
else
if [ -d "/Library/Frameworks/Tk.framework/Resources" ]; then
@@ -20,5 +20,3 @@ else
fi
fi
-exit
-