diff options
| author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-02-06 16:37:51 +0100 |
|---|---|---|
| committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-02-06 16:37:51 +0100 |
| commit | 3facbf5a73a049881282d08f255d3ca1d0c6654a (patch) | |
| tree | fe9c11ad27e03109363ac4f002c6fc85b97a6e17 | |
| parent | 2579ba6fc74c17d300b74db72182b027efdabcc8 (diff) | |
| download | kde-3facbf5a73a049881282d08f255d3ca1d0c6654a.tar.gz kde-3facbf5a73a049881282d08f255d3ca1d0c6654a.tar.bz2 kde-3facbf5a73a049881282d08f255d3ca1d0c6654a.zip | |
[eclasses] Fix wrong variable uage
| -rw-r--r-- | eclass/git-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass index e5a0dc90713..3e48770dc1e 100644 --- a/eclass/git-2.eclass +++ b/eclass/git-2.eclass @@ -239,7 +239,7 @@ git-2_prepare_storedir() { git-2_move_source() { debug-print-function ${FUNCNAME} "$@" - if [[ -n ${ESCM_HAS_SUBMODULES} ]]; then + if [[ -n ${EGIT_HAS_SUBMODULES} ]]; then pushd "${EGIT_DIR}" &> /dev/null debug-print "${FUNCNAME}: rsync -rlpgo . \"${EGIT_SOURCEDIR}\"" rsync -rlpgo . "${EGIT_SOURCEDIR}" || die "${FUNCNAME}: sync of git data to \"${EGIT_SOURCEDIR}\" failed" @@ -299,7 +299,7 @@ git-2_fetch() { oldsha1=$(git rev-parse ${upstream_branch}) - if [[ -n ${ESCM_HAS_SUBMODULES} ]]; then + if [[ -n ${EGIT_HAS_SUBMODULES} ]]; then debug-print "${ESCM_UPDATE_CMD} ${ESCM_OPTIONS}" # fix branching git checkout ${ESCM_MASTER} |
