* etc/po/Makefile.am (install-data-local): Use basename instead of echo.
authorueno <ueno>
Thu, 21 Mar 2002 02:14:03 +0000 (02:14 +0000)
committerueno <ueno>
Thu, 21 Mar 2002 02:14:03 +0000 (02:14 +0000)
etc/po/Makefile.am

index b165aed..aec85c8 100644 (file)
@@ -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 \