Ticket #6826: patch-oz.in.diff
File patch-oz.in.diff, 640 bytes (added by bfulgham@…, 18 years ago) |
---|
-
share/bin/oz.in
old new 60 60 if test -z "${OZEMACS}" 61 61 then 62 62 IFS="${IFS= }"; saveifs="$IFS"; IFS="$IFS:" 63 for name in emacs xemacs lemacs; do64 for dir in $PATH; do63 for name in "Aquamacs Emacs" Emacs emacs xemacs lemacs; do 64 for dir in "/Applications/Aquamacs Emacs.app/Contents/MacOS" /Applications/Emacs.app/Contents/MacOS $PATH; do 65 65 test -z "$dir" && dir=. 66 if test -f $dir/$name; then66 if test -f "$dir/$name"; then 67 67 # Not all systems have dirname. 68 68 OZEMACS=$dir/$name 69 69 break 2