Mercurial > hg > xemacs-beta
diff lib-src/update-autoloads.sh @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | 4f79e16b1112 |
children | 1f50e6fe4f3f |
line wrap: on
line diff
--- a/lib-src/update-autoloads.sh Mon Aug 13 11:01:58 2007 +0200 +++ b/lib-src/update-autoloads.sh Mon Aug 13 11:03:08 2007 +0200 @@ -43,24 +43,14 @@ export EMACS -EMACS_DIR=`cd \`dirname $EMACS\` && pwd`; -CANON_PWD=`pwd` -# Account for various system automounter configurations -if test -d "/net"; then - if test -d "/tmp_mnt/net"; then tdir="/tmp_mnt/net"; else tdir="/tmp_mnt"; fi - EMACS_DIR=`echo "$EMACS_DIR" | \ - sed -e "s|^${tdir}/|/net/|" -e "s|^/a/|/net/|" -e "s|^/amd/|/net/|"` - CANON_PWD=`echo "$CANON_PWD" | \ - sed -e "s|^${tdir}/|/net/|" -e "s|^/a/|/net/|" -e "s|^/amd/|/net/|"` -fi -REAL="$EMACS_DIR/`basename $EMACS`" +REAL=`cd \`dirname $EMACS\` ; pwd | sed 's|^/tmp_mnt||'`/`basename $EMACS` -echo "Rebuilding autoloads in $CANON_PWD" +echo "Rebuilding autoloads in `pwd|sed 's|^/tmp_mnt||'`" echo " with $REAL..." if [ "`uname -r | sed 's/\(.\).*/\1/'`" -gt 4 ]; then echon() - { + { /bin/echo $* '\c' } else