1 |
vapier 10/08/24 21:00:15 |
2 |
|
3 |
Modified: cvs.eclass |
4 |
Log: |
5 |
make sure the sort is in a C locale #333773 by Michał Górny |
6 |
|
7 |
Revision Changes Path |
8 |
1.75 eclass/cvs.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cvs.eclass?rev=1.75&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cvs.eclass?rev=1.75&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/cvs.eclass?r1=1.74&r2=1.75 |
13 |
|
14 |
Index: cvs.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v |
17 |
retrieving revision 1.74 |
18 |
retrieving revision 1.75 |
19 |
diff -u -r1.74 -r1.75 |
20 |
--- cvs.eclass 22 Aug 2010 20:50:52 -0000 1.74 |
21 |
+++ cvs.eclass 24 Aug 2010 21:00:15 -0000 1.75 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2008 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.74 2010/08/22 20:50:52 vapier Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/cvs.eclass,v 1.75 2010/08/24 21:00:15 vapier Exp $ |
27 |
|
28 |
# @ECLASS: cvs.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -549,7 +549,7 @@ |
31 |
fi |
32 |
|
33 |
# Not exactly perfect, but should be pretty close #333773 |
34 |
- export ECVS_VERSION=$(find "$ECVS_TOP_DIR/$ECVS_LOCALNAME/" -ipath '*/CVS/Entries' -exec cat {} + | sort | sha1sum | awk '{print $1}') |
35 |
+ export ECVS_VERSION=$(find "$ECVS_TOP_DIR/$ECVS_LOCALNAME/" -ipath '*/CVS/Entries' -exec cat {} + | LC_ALL=C sort | sha1sum | awk '{print $1}') |
36 |
export ESCM_VERSION=${ECVS_VERSION} |
37 |
|
38 |
# If the directory is empty, remove it; empty directories cannot |