summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-08-24 21:00:15 +0000
committerMike Frysinger <vapier@gentoo.org>2010-08-24 21:00:15 +0000
commit431042fef2f719060b3bc02d9fd5a23f943fff8f (patch)
tree28bc83b9e5fd4b28f636af5f4f0bdde69df446c3 /eclass
parentVersion bump, closing bug #332825, thanks Francois Bissey for his testing (diff)
downloadgentoo-2-431042fef2f719060b3bc02d9fd5a23f943fff8f.tar.gz
gentoo-2-431042fef2f719060b3bc02d9fd5a23f943fff8f.tar.bz2
gentoo-2-431042fef2f719060b3bc02d9fd5a23f943fff8f.zip
make sure the sort is in a C locale #333773 by Michał Górny
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cvs.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/cvs.eclass b/eclass/cvs.eclass
index 4c4b2f13fc65..f3424db8e048 100644
--- a/eclass/cvs.eclass
+++ b/eclass/cvs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.74 2010/08/22 20:50:52 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.75 2010/08/24 21:00:15 vapier Exp $
# @ECLASS: cvs.eclass
# @MAINTAINER:
@@ -549,7 +549,7 @@ cvs_src_unpack() {
fi
# Not exactly perfect, but should be pretty close #333773
- export ECVS_VERSION=$(find "$ECVS_TOP_DIR/$ECVS_LOCALNAME/" -ipath '*/CVS/Entries' -exec cat {} + | sort | sha1sum | awk '{print $1}')
+ export ECVS_VERSION=$(find "$ECVS_TOP_DIR/$ECVS_LOCALNAME/" -ipath '*/CVS/Entries' -exec cat {} + | LC_ALL=C sort | sha1sum | awk '{print $1}')
export ESCM_VERSION=${ECVS_VERSION}
# If the directory is empty, remove it; empty directories cannot