summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-11-07 22:44:35 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-11-07 22:44:35 +0000
commit8a12e3c43dc81958637ae4b82b178890d8e3baf1 (patch)
treecd7e9888654dac680154142cd8cf33aabc9bd5f9 /eclass
parentold (diff)
downloadhistorical-8a12e3c43dc81958637ae4b82b178890d8e3baf1.tar.gz
historical-8a12e3c43dc81958637ae4b82b178890d8e3baf1.tar.bz2
historical-8a12e3c43dc81958637ae4b82b178890d8e3baf1.zip
export EBZR_TREE_CRC32 variable with revision information of the checked out tree, see bug 343355 for details
Diffstat (limited to 'eclass')
-rw-r--r--eclass/bzr.eclass5
-rw-r--r--eclass/ruby-ng.eclass4
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass
index 3aa14b83db05..68871a599f35 100644
--- a/eclass/bzr.eclass
+++ b/eclass/bzr.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/bzr.eclass,v 1.9 2010/07/01 09:23:37 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/bzr.eclass,v 1.10 2010/11/07 22:44:35 fauli Exp $
#
# @ECLASS: bzr.eclass
# @MAINTAINER:
@@ -231,6 +231,9 @@ bzr_fetch() {
|| die "${EBZR}: export failed"
fi
+ export EBZR_TREE_CRC32=$(awk '$1 == "crc32:" { print $2; exit }' \
+ .bzr/checkout/dirstate)
+
popd > /dev/null
}
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 08fc12f5bc58..72286080eed4 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.28 2010/09/10 13:03:39 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.29 2010/11/07 22:44:35 fauli Exp $
#
# @ECLASS: ruby-ng.eclass
# @MAINTAINER:
@@ -342,7 +342,7 @@ _ruby_apply_patches() {
_ruby_source_copy() {
# Until we actually find a reason not to, we use hardlinks, this
# should reduce the amount of disk space that is wasted by this.
- cp -prl all ${_ruby_implementation} \
+ cp -pr all ${_ruby_implementation} \
|| die "Unable to copy ${_ruby_implementation} environment"
}