X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/72c3b81efb1079f8db070ac89e97e9b7bcedd61b..8cd7023c4f81254758758af3ded83069868ed6cc:/po/Makefile?ds=sidebyside

diff --git a/po/Makefile b/po/Makefile
index b71bb8b91..bd218c6e1 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -22,7 +22,7 @@ install: all
 	
 	# Underlay translation via po files that go in special per-language
 	# underlays.
-	for file in `cd underlays && find . -type f -name \*.po`; do \
+	for file in `find underlays -type f -name \*.po | sed -e 's|^underlays/||'`; do \
 		lang=`echo $$file | sed -e 's/.po$$//' -e 's/.*\\.//'`; \
 		dir=`dirname "$(DESTDIR)$(PREFIX)/share/ikiwiki/po/$$lang/$$file"`; \
 		install -d $$dir; \