summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2006-09-26 21:16:11 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2006-09-26 21:16:11 +0000
commitf8ba6d72858ac48e5ea7c18460baf793b0967d8a (patch)
treec196e402ff26537f35b69cb569e7a764d19eea53 /sys-cluster/torque
parentStable on hppa wrt #146511 (diff)
downloadgentoo-2-f8ba6d72858ac48e5ea7c18460baf793b0967d8a.tar.gz
gentoo-2-f8ba6d72858ac48e5ea7c18460baf793b0967d8a.tar.bz2
gentoo-2-f8ba6d72858ac48e5ea7c18460baf793b0967d8a.zip
(#149226) Run keepdir on empty directories when needed, so they don't disappear upon a remerge.
(Portage version: 2.1.2_pre1-r3)
Diffstat (limited to 'sys-cluster/torque')
-rw-r--r--sys-cluster/torque/ChangeLog7
-rw-r--r--sys-cluster/torque/torque-2.1.2-r1.ebuild6
2 files changed, 11 insertions, 2 deletions
diff --git a/sys-cluster/torque/ChangeLog b/sys-cluster/torque/ChangeLog
index 77c50f844972..5fd8c3da0c42 100644
--- a/sys-cluster/torque/ChangeLog
+++ b/sys-cluster/torque/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/torque
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/ChangeLog,v 1.31 2006/09/26 05:10:51 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/ChangeLog,v 1.32 2006/09/26 21:16:11 dberkholz Exp $
+
+ 26 Sep 2006; Donnie Berkholz <dberkholz@gentoo.org>;
+ torque-2.1.2-r1.ebuild:
+ (#149226) Run keepdir on empty directories when needed, so they don't
+ disappear upon a remerge.
*torque-2.1.2-r1 (26 Sep 2006)
diff --git a/sys-cluster/torque/torque-2.1.2-r1.ebuild b/sys-cluster/torque/torque-2.1.2-r1.ebuild
index cfd9cf18d061..73f17734e37a 100644
--- a/sys-cluster/torque/torque-2.1.2-r1.ebuild
+++ b/sys-cluster/torque/torque-2.1.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-2.1.2-r1.ebuild,v 1.1 2006/09/26 05:10:51 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/torque/torque-2.1.2-r1.ebuild,v 1.2 2006/09/26 21:16:11 dberkholz Exp $
inherit autotools flag-o-matic eutils
@@ -104,6 +104,10 @@ pbs_createspool() {
else
chmod ${m} "${root}${d}"
fi
+ # (#149226) If we're running in src_*, then keepdir
+ if [[ ${root} = ${D} ]]; then
+ keepdir ${d}
+ fi
done
}