diff options
author | Glenn Morris <[email protected]> | 2014-04-29 07:54:58 -0700 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2014-04-29 07:54:58 -0700 |
commit | 7ac903abc8cebd281b2ab263770e293c096bbfca (patch) | |
tree | 6d63beeffae4b4f0f0f47799c83b9cbbb4e0d80d /lib-src | |
parent | ca489750c2c47e641fd78f2e3ea6276e3b54f5d4 (diff) |
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}): Avoid non-portable "`\" nesting
Fixes: debbugs:17339
Diffstat (limited to 'lib-src')
-rw-r--r-- | lib-src/ChangeLog | 5 | ||||
-rw-r--r-- | lib-src/Makefile.in | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 5a783d3266..2272204643 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,8 @@ +2014-04-29 Glenn Morris <[email protected]> + + * Makefile.in ($(DESTDIR)${archlibdir}): + Avoid non-portable "`\" nesting. (Bug#17339) + 2014-04-16 Eli Zaretskii <[email protected]> * update-game-score.c (write_scores): Condition fchmod call on diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in index 56cdc09e0f..4d9fdba772 100644 --- a/lib-src/Makefile.in +++ b/lib-src/Makefile.in @@ -247,8 +247,8 @@ $(DESTDIR)${archlibdir}: all chown ${gameuser} "$(DESTDIR)${gamedir}"; \ chmod u=rwx,g=rwx,o=rx "$(DESTDIR)${gamedir}"; \ fi - if [ "`cd \"$(DESTDIR)${archlibdir}\" && /bin/pwd`" \ - != "`cd ${srcdir} && /bin/pwd`" ]; then \ + exp_archlibdir=`cd "$(DESTDIR)${archlibdir}" && /bin/pwd`; \ + if [ "$$exp_archlibdir" != "`cd ${srcdir} && /bin/pwd`" ]; then \ for file in ${SCRIPTS}; do \ $(INSTALL_SCRIPT) ${srcdir}/$$file "$(DESTDIR)${archlibdir}/$$file"; \ done ; \ |