diff options
author | Michał Górny <mgorny@gentoo.org> | 2011-05-02 21:15:30 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2011-05-02 21:15:30 +0000 |
commit | 6f6da3897b76d5149a43ce7c08899ee7744638fa (patch) | |
tree | 07f6c7a84dca585ac8b153360fb94d17734b6041 /eclass | |
parent | Version bump. (diff) | |
download | gentoo-2-6f6da3897b76d5149a43ce7c08899ee7744638fa.tar.gz gentoo-2-6f6da3897b76d5149a43ce7c08899ee7744638fa.tar.bz2 gentoo-2-6f6da3897b76d5149a43ce7c08899ee7744638fa.zip |
Fix variable references ({cur,old}sha1 -> {cur,old}sha).
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/git-2.eclass | 6 |
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}" |