From: Kenichi Handa Date: Sat, 17 Oct 1998 01:58:01 +0000 (+0000) Subject: (leim-list.el): Use `(cd foo && pwd)` instead of `(cd foo; pwd)`. X-Git-Tag: emacs-20.4~1472 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2a44b43819bc32d9e5479ae5cde28ffd4f0b84f3;p=emacs.git (leim-list.el): Use `(cd foo && pwd)` instead of `(cd foo; pwd)`. (install): Likewise. --- diff --git a/leim/Makefile.in b/leim/Makefile.in index 780e2be8e37..bece75ff2df 100644 --- a/leim/Makefile.in +++ b/leim/Makefile.in @@ -147,7 +147,7 @@ ${TIT}: -f batch-byte-compile ${TIT} leim-list.el: ${SUBDIRS} ${WORLD} - if [ x`(cd ${srcdir}; /bin/pwd)` = x`(/bin/pwd)` ] ; then \ + if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ ${RUN-EMACS} -l ${buildlisppath}/international/quail \ --eval "(update-leim-list-file \".\")" ; \ else \ @@ -156,11 +156,11 @@ leim-list.el: ${SUBDIRS} ${WORLD} fi install: all - if [ x`(cd ${INSTALLDIR}; /bin/pwd)` != x`(/bin/pwd)` ] ; then \ + if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \ rm -rf ${INSTALLDIR}/leim-list.el; \ rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/skk ; \ echo "Copying leim files to ${INSTALLDIR} ..." ; \ - if [ x`(cd ${srcdir}; /bin/pwd)` = x`(/bin/pwd)` ] ; then \ + if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ tar -cf - leim-list.el quail skk \ | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ else \