From: Glenn Morris Date: Mon, 15 Oct 2012 21:57:20 +0000 (-0400) Subject: (install-etc): Fix previous change X-Git-Tag: emacs-24.2.90~233^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=293902c8b28955cce23d0ae79820d363ba99bf72;p=emacs.git (install-etc): Fix previous change --- diff --git a/Makefile.in b/Makefile.in index 95f851b0ada..d929160c597 100644 --- a/Makefile.in +++ b/Makefile.in @@ -647,9 +647,9 @@ install-etc: ( cd $${thisdir}; ${MKDIR_P} $(DESTDIR)${icondir}/$${dir} ) ; \ for icon in $${dir}/*.*; do \ [ -r $${icon} ] || continue ; \ - dest=`echo "$${icon}" | sed '$(TRANSFORM)'` ; \ + dest=`echo "$${icon}" | sed -e 's|.*/||' -e '$(TRANSFORM)'` ; \ ( cd $${thisdir}; \ - ${INSTALL_DATA} ${iconsrcdir}/$${icon} $(DESTDIR)${icondir}/$${dest} ) \ + ${INSTALL_DATA} ${iconsrcdir}/$${icon} $(DESTDIR)${icondir}/$${dir}/$${dest} ) \ || exit 1; \ done ; \ done