* lib-src/Makefile.in ($(DESTDIR)${archlibdir}): Avoid non-portable "`\" nesting

Fixes: debbugs:17339
This commit is contained in:
Glenn Morris 2014-04-29 07:54:58 -07:00
parent ca489750c2
commit 7ac903abc8
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2014-04-29 Glenn Morris <rgm@gnu.org>
* Makefile.in ($(DESTDIR)${archlibdir}):
Avoid non-portable "`\" nesting. (Bug#17339)
2014-04-16 Eli Zaretskii <eliz@gnu.org>
* update-game-score.c (write_scores): Condition fchmod call on

View file

@ -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 ; \