You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mb...@apache.org on 2018/09/22 12:21:20 UTC

svn commit: r1841675 - /ofbiz/tools/verify-ofbiz-release.sh

Author: mbrohl
Date: Sat Sep 22 12:21:20 2018
New Revision: 1841675

URL: http://svn.apache.org/viewvc?rev=1841675&view=rev
Log:
Improved: corrected language setting and unset after script

Modified:
    ofbiz/tools/verify-ofbiz-release.sh

Modified: ofbiz/tools/verify-ofbiz-release.sh
URL: http://svn.apache.org/viewvc/ofbiz/tools/verify-ofbiz-release.sh?rev=1841675&r1=1841674&r2=1841675&view=diff
==============================================================================
--- ofbiz/tools/verify-ofbiz-release.sh (original)
+++ ofbiz/tools/verify-ofbiz-release.sh Sat Sep 22 12:21:20 2018
@@ -10,7 +10,7 @@ GRN='\033[0;32m'
 NC='\033[0m' # No Color
 
 # use english gpg output
-LC_MESSAGES=en_EN.UTF-8
+export LC_MESSAGES=en_EN.UTF-8
 
 if [[ $# -eq 0 ]] ; then
     echo "Usage: $0 [apache-ofbiz-xx.xx.xx.zip]"
@@ -52,3 +52,5 @@ else
     echo "GPG verification output"
     gpg --verify $1.asc $1
 fi
+
+unset LC_MESSAGES



Re: svn commit: r1841675 - /ofbiz/tools/verify-ofbiz-release.sh

Posted by Michael Brohl <mi...@ecomify.de>.
Hi Mathieu,

thanks for the hint!

There is no portability requirement, I once wrote this script to ease 
the release checks and shared it with the community.

I changed the code so that there is no need for exporting the setting 
anymore.

Regards,

Michael


Am 22.09.18 um 14:41 schrieb Mathieu Lirzin:
> Hello Michael,
>
> mbrohl@apache.org writes:
>
>>   # use english gpg output
>> -LC_MESSAGES=en_EN.UTF-8
>> +export LC_MESSAGES=en_EN.UTF-8
> This syntax is a bashism.  I don't know the portability requirements for
> this script, but I would recommend using this syntax instead:
>
>    LC_MESSAGES=en_EN.UTF-8
>    export LC_MESSAGES
>
> Thanks.
>



Re: svn commit: r1841675 - /ofbiz/tools/verify-ofbiz-release.sh

Posted by Mathieu Lirzin <ma...@nereide.fr>.
Hello Michael,

mbrohl@apache.org writes:

>  # use english gpg output
> -LC_MESSAGES=en_EN.UTF-8
> +export LC_MESSAGES=en_EN.UTF-8

This syntax is a bashism.  I don't know the portability requirements for
this script, but I would recommend using this syntax instead:

  LC_MESSAGES=en_EN.UTF-8
  export LC_MESSAGES

Thanks.

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37