summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-05-02 21:15:30 +0000
committerMichał Górny <mgorny@gentoo.org>2011-05-02 21:15:30 +0000
commit4832cc2a2d642a9d6d26e23a38e3a80f75910ca2 (patch)
tree674ffef642e1daff9b0f9b9e1821ab249896abab /eclass
parentVersion bump. (diff)
downloadhistorical-4832cc2a2d642a9d6d26e23a38e3a80f75910ca2.tar.gz
historical-4832cc2a2d642a9d6d26e23a38e3a80f75910ca2.tar.bz2
historical-4832cc2a2d642a9d6d26e23a38e3a80f75910ca2.zip
Fix variable references ({cur,old}sha1 -> {cur,old}sha).
Diffstat (limited to 'eclass')
-rw-r--r--eclass/git-2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass
index 7cca1f05403b..51d3f9ebf323 100644
--- a/eclass/git-2.eclass
+++ b/eclass/git-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.4 2011/04/24 15:33:56 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/git-2.eclass,v 1.5 2011/05/02 21:15:30 mgorny Exp $
# @ECLASS: git-2.eclass
# @MAINTAINER:
@@ -358,7 +358,7 @@ git-2_fetch() {
echo "GIT update -->"
echo " repository: ${EGIT_REPO_URI_SELECTED}"
# write out message based on the revisions
- if [[ "${oldsha1}" != "${cursha1}" ]]; then
+ if [[ "${oldsha}" != "${cursha}" ]]; then
echo " updating from commit: ${oldsha}"
echo " to commit: ${cursha}"
else
@@ -370,7 +370,7 @@ git-2_fetch() {
popd > /dev/null
fi
# export the version the repository is at
- export EGIT_VERSION="${cursha1}"
+ export EGIT_VERSION="${cursha}"
# log the repo state
[[ ${EGIT_COMMIT} != ${EGIT_BRANCH} ]] \
&& echo " commit: ${EGIT_COMMIT}"