From 293902c8b28955cce23d0ae79820d363ba99bf72 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 15 Oct 2012 17:57:20 -0400 Subject: [PATCH] (install-etc): Fix previous change --- Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2