emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48749: closed ([PATCH] bootstrap: Simplify seach for translation lan


From: GNU bug Tracking System
Subject: bug#48749: closed ([PATCH] bootstrap: Simplify seach for translation languages.)
Date: Sun, 13 Jun 2021 18:49:01 +0000

Your message dated Sun, 13 Jun 2021 20:48:11 +0200
with message-id <c48a6aef-88c2-b79b-a8e4-475d413de25f@crazy-compilers.com>
and subject line Re: bug#48749: Acknowledgement ([PATCH] bootstrap: Simplify 
seach for translation languages.)
has caused the debbugs.gnu.org bug report #48749,
regarding [PATCH] bootstrap: Simplify seach for translation languages.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48749: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48749
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] bootstrap: Simplify seach for translation languages. Date: Sun, 30 May 2021 20:53:21 +0200
Extend the sed script to also behave like "basename",
saving the addtional call of "xargs basename".

* bootstrap (langs): Extend sed scripts, remove running xargs.
---
 bootstrap | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/bootstrap b/bootstrap
index a47269d87f..de024aeaa5 100755
--- a/bootstrap
+++ b/bootstrap
@@ -5,8 +5,7 @@ set -e -x
 
 # Generate stubs for translations.
 langs=`find po/doc -type f -name 'guix-manual*.po' \
-        | sed -e 's,guix-manual\.,,' \
-        | xargs -n 1 -I{} basename {} .po`
+        | sed -e 's,.*/guix-manual\.,,;s,\.po$,,'`
 for lang in ${langs}; do
     if [ ! -e "doc/guix.${lang}.texi" ]; then
        echo "@setfilename guix.${lang}.info" > "doc/guix.${lang}.texi"
@@ -16,8 +15,7 @@ for lang in ${langs}; do
     fi
 done
 langs=`find po/doc -type f -name 'guix-cookbook*.po' \
-        | sed -e 's,guix-cookbook\.,,' \
-        | xargs -n 1 -I{} basename {} .po`
+        | sed -e 's,.*/guix-cookbook\.,,;s,\.po$,,'`
 for lang in ${langs}; do
     if [ ! -e "doc/guix-cookbook.${lang}.texi" ]; then
        echo "@setfilename guix-cookbook.${lang}.info" > 
"doc/guix-cookbook.${lang}.texi"
-- 
2.30.2




--- End Message ---
--- Begin Message --- Subject: Re: bug#48749: Acknowledgement ([PATCH] bootstrap: Simplify seach for translation languages.) Date: Sun, 13 Jun 2021 20:48:11 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2
Thanks for pointing to th typo :-)

Pushed as bd02e50a02ceed914135dba1e69e4457e489cf86


--
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]