diff options
author | Gregory Heytings <gregory@heytings.org> | 2022-09-26 12:58:07 +0000 |
---|---|---|
committer | Gregory Heytings <gregory@heytings.org> | 2022-09-28 16:30:47 +0200 |
commit | d096819089273f2854305db03763a91fa303f651 (patch) | |
tree | 783419c5897b6eef668a594da15e2aa1fc8273e3 /lib-src | |
parent | 56f871b0e2008f0f57c22b4c3018dbdda9d427ac (diff) | |
download | emacs-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 'lib-src')
-rw-r--r-- | lib-src/Makefile.in | 8 |
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 $(info $ ) $(info 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" || exit; \ @@ -333,8 +333,8 @@ $(DESTDIR)${archlibdir}: all chmod u=rwx,g=rwx,o=rx "$(DESTDIR)${gamedir}" endif endif - exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && /bin/pwd` && \ - if [ "$$exp_archlibdir" != "`cd ${srcdir} && /bin/pwd`" ]; then \ + exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && pwd -P` && \ + if [ "$$exp_archlibdir" != "`cd ${srcdir} && pwd -P`" ]; then \ for file in ${SCRIPTS}; do \ $(INSTALL_SCRIPT) ${srcdir}/$$file \ "$(DESTDIR)${archlibdir}/$$file" || exit; \ |