aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorGregory Heytings2022-09-26 12:58:07 +0000
committerGregory Heytings2022-09-28 16:30:47 +0200
commitd096819089273f2854305db03763a91fa303f651 (patch)
tree783419c5897b6eef668a594da15e2aa1fc8273e3 /lib-src
parent56f871b0e2008f0f57c22b4c3018dbdda9d427ac (diff)
downloademacs-d096819089273f2854305db03763a91fa303f651.tar.gz
emacs-d096819089273f2854305db03763a91fa303f651.zip
Remove hard-coded path to pwd in Makefiles.
* Makefile.in: * lib-src/Makefile.in: * nextstep/Makefile.in: * nt/Makefile.in: Replace hard-coded calls to /bin/pwd by calls to 'pwd -P'. Fixes bug#58080.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/Makefile.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index cf4659fc2c1..cfad3fc3941 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -306,8 +306,8 @@ $(DESTDIR)${archlibdir}: all
306 $(info $ ) 306 $(info $ )
307 $(info Installing utilities run internally by Emacs.) 307 $(info Installing utilities run internally by Emacs.)
308 umask 022 && ${MKDIR_P} "$(DESTDIR)${archlibdir}" 308 umask 022 && ${MKDIR_P} "$(DESTDIR)${archlibdir}"
309 exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && /bin/pwd` && \ 309 exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && pwd -P` && \
310 if [ "$$exp_archlibdir" != "`/bin/pwd`" ]; then \ 310 if [ "$$exp_archlibdir" != "`pwd -P`" ]; then \
311 for file in ${UTILITIES}; do \ 311 for file in ${UTILITIES}; do \
312 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file \ 312 $(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file \
313 "$(DESTDIR)${archlibdir}/$$file" || exit; \ 313 "$(DESTDIR)${archlibdir}/$$file" || exit; \
@@ -333,8 +333,8 @@ $(DESTDIR)${archlibdir}: all
333 chmod u=rwx,g=rwx,o=rx "$(DESTDIR)${gamedir}" 333 chmod u=rwx,g=rwx,o=rx "$(DESTDIR)${gamedir}"
334 endif 334 endif
335 endif 335 endif
336 exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && /bin/pwd` && \ 336 exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && pwd -P` && \
337 if [ "$$exp_archlibdir" != "`cd ${srcdir} && /bin/pwd`" ]; then \ 337 if [ "$$exp_archlibdir" != "`cd ${srcdir} && pwd -P`" ]; then \
338 for file in ${SCRIPTS}; do \ 338 for file in ${SCRIPTS}; do \
339 $(INSTALL_SCRIPT) ${srcdir}/$$file \ 339 $(INSTALL_SCRIPT) ${srcdir}/$$file \
340 "$(DESTDIR)${archlibdir}/$$file" || exit; \ 340 "$(DESTDIR)${archlibdir}/$$file" || exit; \