summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
authorGregory Heytings <gregory@heytings.org>2022-09-26 12:58:07 +0000
committerGregory Heytings <gregory@heytings.org>2022-09-28 16:30:47 +0200
commitd096819089273f2854305db03763a91fa303f651 (patch)
tree783419c5897b6eef668a594da15e2aa1fc8273e3 /nt
parent56f871b0e2008f0f57c22b4c3018dbdda9d427ac (diff)
downloademacs-d096819089273f2854305db03763a91fa303f651.tar.gz
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 'nt')
-rw-r--r--nt/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/nt/Makefile.in b/nt/Makefile.in
index c904e6d451e..c5a9bf4363d 100644
--- a/nt/Makefile.in
+++ b/nt/Makefile.in
@@ -163,8 +163,8 @@ $(DESTDIR)${archlibdir}: all
@echo
@echo "Installing utilities run internally by Emacs."
umask 022; ${MKDIR_P} "$(DESTDIR)${archlibdir}"
- exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && /bin/pwd`; \
- if [ "$$exp_archlibdir" != "`/bin/pwd`" ]; then \
+ exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && pwd -P`; \
+ if [ "$$exp_archlibdir" != "`pwd -P`" ]; then \
for file in ${UTILITIES}; do \
$(INSTALL_PROGRAM) $(INSTALL_STRIP) $$file "$(DESTDIR)${archlibdir}/$$file" ; \
done ; \