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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

mbrohl
Author: mbrohl
Date: Sat Sep 22 13:00:55 2018
New Revision: 1841677

URL: http://svn.apache.org/viewvc?rev=1841677&view=rev
Log:
Improved: do not set/unset LC_MESSAGES, just use it with the gpg command

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=1841677&r1=1841676&r2=1841677&view=diff
==============================================================================
--- ofbiz/tools/verify-ofbiz-release.sh (original)
+++ ofbiz/tools/verify-ofbiz-release.sh Sat Sep 22 13:00:55 2018
@@ -9,9 +9,6 @@ RED='\033[0;31m'
 GRN='\033[0;32m'
 NC='\033[0m' # No Color
 
-# use english gpg output
-export LC_MESSAGES=en_EN.UTF-8
-
 if [[ $# -eq 0 ]] ; then
     echo "Usage: $0 [apache-ofbiz-xx.xx.xx.zip]"
     exit 1
@@ -50,7 +47,5 @@ then
     echo -e "${RED}skipping signature check!${NC} (signature file $1.asc not found)"
 else
     echo "GPG verification output"
-    gpg --verify $1.asc $1
+    LC_MESSAGES=en_EN.UTF-8 gpg --verify $1.asc $1
 fi
-
-unset LC_MESSAGES