diff lib-src/update-elc.sh @ 72:b9518feda344 r20-0b31

Import from CVS: tag r20-0b31
author cvs
date Mon, 13 Aug 2007 09:03:46 +0200
parents 131b0175ea99
children 54cc21c15cbb
line wrap: on
line diff
--- a/lib-src/update-elc.sh	Mon Aug 13 09:03:07 2007 +0200
+++ b/lib-src/update-elc.sh	Mon Aug 13 09:03:46 2007 +0200
@@ -21,7 +21,7 @@
 done
 
 if test ! -d lisp/. ; then
-  echo "$0: Can't find the `lisp' directory."
+  echo "$0: Can't find the \`lisp' directory."
   exit 1
 fi
 
@@ -52,11 +52,8 @@
 
 # Only use Mule XEmacs to compile Mule-specific elisp dirs
 echo "Checking for Mule support..."
-# You cannot just use 'test -n' here because it will fail on a null
-# return value (null != null string)
-mule_check=`$REAL -batch -no-site-file \
- -eval "(when (featurep 'mule) (message \"yes\"))" 2>&1`
-if [ -z "$mule_check" ]; then
+lisp_prog='(when (featurep (quote mule)) (message "yes"))'
+if test -z `$REAL -batch -no-site-file -eval "$lisp_prog" 2>&1` ; then
   ignore_dirs="$ignore_dirs mule"
 fi