Mercurial > hg > xemacs-beta
diff lisp/w3/custom-check @ 44:8d2a9b52c682 r19-15prefinal
Import from CVS: tag r19-15prefinal
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:55:10 +0200 |
parents | c53a95d3c46d |
children | 6a22abad6937 |
line wrap: on
line diff
--- a/lisp/w3/custom-check Mon Aug 13 08:54:52 2007 +0200 +++ b/lisp/w3/custom-check Mon Aug 13 08:55:10 2007 +0200 @@ -4,13 +4,8 @@ HOME=`(cd ; pwd)` fi -if [ -n "$WIDGETDIR" ]; then - echo "WIDGETDIR environment variable set, good good" - exit 0 -fi - -WITH=`${EMACS} -batch -l ${HOME}/.emacs -eval '(princ (locate-library "custom"))' | cut -f3- |xargs dirname` -WITHOUT=`${EMACS} -batch -eval '(princ (locate-library "custom"))' | cut -f3- |xargs dirname` +WITH=` ${EMACS} -batch -l ${HOME}/.emacs -eval '(princ (file-truename (locate-library "custom")))'` +WITHOUT=`${EMACS} -batch -q -no-site-file -l docomp.el -eval '(princ (file-truename (locate-library "custom")))'` if [ "${WITH}" = "${WITHOUT}" ]; then exit 0