Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (7aafabba713f654279b7a2a0b7ccf8f9c72170c1)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Jaka Kranjc <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (7aafabba713f654279b7a2a0b7ccf8f9c72170c1)
  • Date: Tue, 2 Sep 2008 15:58:09 -0500

GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:

ChangeLog | 1 +
var/lib/sorcery/modules/libgpg | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 7aafabba713f654279b7a2a0b7ccf8f9c72170c1
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>

libgpg: set LC_ALL=C for commands output of which we parse #14705

diff --git a/ChangeLog b/ChangeLog
index 824e3df..fe31c73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
hash, since we're removing spells from to_cast when things go awry
* libdepends: only put the broken spell into the failed list, "drop"
the dependees and dependencies
+ * libgpg: set LC_ALL=C for commands output of which we parse #14705

2008-09-01 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* cast, libspell, libsorcery, libcast, libsummon: fixed bug #2209
diff --git a/var/lib/sorcery/modules/libgpg b/var/lib/sorcery/modules/libgpg
index 23825df..464e58c 100755
--- a/var/lib/sorcery/modules/libgpg
+++ b/var/lib/sorcery/modules/libgpg
@@ -52,7 +52,7 @@ function gpg_verify_signature() { # $1 sig $2 file $3
pubring $4 algo var
return 200
else
local output=$TMP_DIR/$(smgl_basename $file).gpgout
- gpg --no-default-keyring \
+ LC_ALL=C gpg --no-default-keyring \
--always-trust \
--keyring $keyring \
--batch \
@@ -338,7 +338,7 @@ function gpg_user_query() {
function gpg_hashsum() {
local algorithm=$1
local file=$2
- gpg --print-md "$algorithm" "$file"| tr -d '\n ' |cut -f2 -d:|
+ LC_ALL=C gpg --print-md "$algorithm" "$file"| tr -d '\n ' |cut -f2 -d:|
tr 'A-F' 'a-f'|tr -d '\n'
echo " $file"
}
@@ -350,7 +350,7 @@ function gpg_hashsum() {
## This assumes the caller has already verified that gpg is installed.
#---------------------------------------------------------------------
function gpg_get_hashes() {
- gpg --version 2> /dev/null | grep '^Hash' | awk -F: '{ print $2 }' | tr ,
' ' | tr 'A-Z' 'a-z'
+ LC_ALL=C gpg --version 2> /dev/null | grep '^Hash' | awk -F: '{ print $2
}' | tr , ' ' | tr 'A-Z' 'a-z'
}

#---------------------------------------------------------------------



  • [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (7aafabba713f654279b7a2a0b7ccf8f9c72170c1), Jaka Kranjc, 09/02/2008

Archive powered by MHonArc 2.6.24.

Top of Page