(install-arch-indep): If cd etc makes output,
don't treat that as part of the tar data. Check that ./lisp actually exists.
This commit is contained in:
parent
26b430b7b3
commit
7d2cdc3cc7
1 changed files with 3 additions and 2 deletions
|
@ -354,10 +354,11 @@ install-arch-indep: mkdir
|
|||
if [ `(cd ./etc; /bin/pwd)` != `(cd ${docdir}; /bin/pwd)` ]; \
|
||||
then \
|
||||
echo "Copying etc/DOC-* to ${docdir} ..." ; \
|
||||
(cd etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \
|
||||
(cd ./etc; tar -cf - DOC*)|(cd ${docdir}; umask 0; tar -xvf - ); \
|
||||
(cd $(docdir); chmod a+r DOC*; rm DOC) \
|
||||
else true; fi
|
||||
if [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \
|
||||
if [ -r ./lisp ] \
|
||||
&& [ x`(cd ./lisp; /bin/pwd)` != x`(cd ${lispdir}; /bin/pwd)` ] \
|
||||
&& [ x`(cd ${srcdir}/lisp; /bin/pwd)` != x`(cd ./lisp; /bin/pwd)` ]; \
|
||||
then \
|
||||
echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \
|
||||
|
|
Loading…
Add table
Reference in a new issue