From c559ec30dbd785fe6a09a1c643eff7c13fad353a Mon Sep 17 00:00:00 2001 From: ueno Date: Thu, 21 Mar 2002 02:14:03 +0000 Subject: [PATCH] * etc/po/Makefile.am (install-data-local): Use basename instead of echo. --- etc/po/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 \ -- 1.7.10.4