mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
* Makefile.in: (${archlibdir}): Use (cd foo && pwd) instead of
`(cd foo ; pwd)` to get the canonical name of a directory; cd might fail, and have pwd print out the current directory.
This commit is contained in:
parent
8fd812d1cd
commit
f7d3e7d055
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ ${archlibdir}: all
|
||||||
@echo
|
@echo
|
||||||
@echo "Installing utilities run internally by Emacs."
|
@echo "Installing utilities run internally by Emacs."
|
||||||
./make-path ${archlibdir}
|
./make-path ${archlibdir}
|
||||||
if [ `(cd ${archlibdir};/bin/pwd)` != `/bin/pwd` ]; then \
|
if [ `(cd ${archlibdir} && /bin/pwd)` != `/bin/pwd` ]; then \
|
||||||
for file in ${UTILITIES} ${INSTALLABLES}; do \
|
for file in ${UTILITIES} ${INSTALLABLES}; do \
|
||||||
cp $${file} ${archlibdir} ; \
|
cp $${file} ${archlibdir} ; \
|
||||||
chmod 755 ${archlibdir}/$${file} ; \
|
chmod 755 ${archlibdir}/$${file} ; \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue