From: ueno Date: Thu, 21 Mar 2002 02:14:03 +0000 (+0000) Subject: * etc/po/Makefile.am (install-data-local): Use basename instead of echo. X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=c559ec30dbd785fe6a09a1c643eff7c13fad353a;p=elisp%2Fliece.git * etc/po/Makefile.am (install-data-local): Use basename instead of echo. --- diff --git a/etc/po/Makefile.am b/etc/po/Makefile.am index b165aed..aec85c8 100644 --- a/etc/po/Makefile.am +++ b/etc/po/Makefile.am @@ -13,7 +13,7 @@ install-data-local: $(mofiles) @$(NORMAL_INSTALL) $(mkinstalldirs) $(DESTDIR)$(localedir) @list='$(mofiles)'; for p in $$list; do \ - lang=`echo $$p | sed s/\.mo//`; \ + lang=`basename $$p | sed s/\.mo//`; \ $(mkinstalldirs) $(DESTDIR)$(localedir)/$$lang; \ $(mkinstalldirs) $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \ if test -f $(srcdir)/$$p; then \