Changeset 4166 for trunk/make-dist

Show
Ignore:
Timestamp:
09/18/06 20:48:14 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/make-dist

    r4111 r4166  
    121121 
    122122### Find where to run Emacs. 
    123 ### (We don't accept EMACS=t as an answer, since that probably only means 
    124 ### that the shell is running in an Emacs window.) 
     123### (Accept only absolute file names.) 
    125124if [ $update = yes ]; 
    126125then 
     
    130129    EMACS=`pwd`/src/emacs 
    131130  else 
    132     if [ "x$EMACS" = "x" -o "x$EMACS" = "xt" ]; 
    133     then 
    134       echo You must specify the EMACS environment variable 2>&1 
    135       exit 1 
    136     fi 
     131    case $EMACS in 
     132      /*) ;; 
     133      *) 
     134        if [ ! -f "$EMACS" ]; then 
     135          echo "$0: You must specify the EMACS environment variable " \ 
     136               "to an absolute file name." 2>&1 
     137          exit 1 
     138        fi;; 
     139    esac 
    137140  fi 
    138141fi