summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2015-01-01 21:09:28 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2015-01-01 21:09:28 +0000
commit27eb7e3ae11556635c76a29000815c96f3a77b19 (patch)
treec027ba9a41fcd962255087a8c5c380069cb1448a /eclass
parentarm stable, bug #529964 (diff)
downloadgentoo-2-27eb7e3ae11556635c76a29000815c96f3a77b19.tar.gz
gentoo-2-27eb7e3ae11556635c76a29000815c96f3a77b19.tar.bz2
gentoo-2-27eb7e3ae11556635c76a29000815c96f3a77b19.zip
Fix patch count on first clone (by vikraman).
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog7
-rw-r--r--eclass/darcs.eclass6
2 files changed, 8 insertions, 5 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index d4af27fed202..fa331937f74d 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1490 2014/12/30 07:24:52 williamh Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1491 2015/01/01 21:09:28 slyfox Exp $
+
+ 01 Jan 2015; Sergei Trofimovich <slyfox@gentoo.org> darcs.eclass:
+ Fix patch count on first clone (by vikraman).
30 Dec 2014; William Hubbs <williamh@gentoo.org> eutils.eclass:
Allow 512x512 icons to be installed (this was approved by ssuominen).
diff --git a/eclass/darcs.eclass b/eclass/darcs.eclass
index af382a60c281..c6ff705f6e56 100644
--- a/eclass/darcs.eclass
+++ b/eclass/darcs.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.17 2014/05/22 16:30:59 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/darcs.eclass,v 1.18 2015/01/01 21:09:28 slyfox Exp $
# @ECLASS: darcs.eclass
# @MAINTAINER:
@@ -88,7 +88,7 @@ DEPEND="dev-vcs/darcs
# @DESCRIPTION:
# Internal function to determine amount of patches in repository.
darcs_patchcount() {
- set -- $(HOME="${EDARCS_TOP_DIR}" ${EDARCS_DARCS_CMD} show repo | grep "Num Patches")
+ set -- $(HOME="${EDARCS_TOP_DIR}" ${EDARCS_DARCS_CMD} show repo --repodir="${EDARCS_TOP_DIR}/${EDARCS_LOCALREPO}" | grep "Num Patches")
# handle string like: " Num Patches: 3860"
echo ${3}
}