summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-07-18 17:09:23 +0000
committerSimon Stelling <blubb@gentoo.org>2006-07-18 17:09:23 +0000
commit5e7ae8c3ca1eaae5dc80a3376b54d6cc4b45d16a (patch)
tree409eeff6489cd6b3518465575640834fd5d2e203
parentf606a6937edcf1db86050d6ae041245421676f3a (diff)
downloadportage-5e7ae8c3ca1eaae5dc80a3376b54d6cc4b45d16a.tar.gz
portage-5e7ae8c3ca1eaae5dc80a3376b54d6cc4b45d16a.tar.bz2
portage-5e7ae8c3ca1eaae5dc80a3376b54d6cc4b45d16a.zip
make .keep files package-dependant to fix bug 102436
svn path=/main/trunk/; revision=3917
-rwxr-xr-xbin/ebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 73fe3a4fd..f657dddce 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -332,10 +332,10 @@ keepdir() {
local x
if [ "$1" == "-R" ] || [ "$1" == "-r" ]; then
shift
- find "$@" -type d -printf "${D}/%p/.keep\n" | tr "\n" "\0" | $XARGS -0 -n100 touch || die "Failed to recursive create .keep files"
+ find "$@" -type d -printf "${D}/%p/.keep_${CATEGORY}_${PN}-${SLOT}\n" | tr "\n" "\0" | $XARGS -0 -n100 touch || die "Failed to recursive create .keep files"
else
for x in "$@"; do
- touch "${D}/${x}/.keep" || die "Failed to create .keep in ${D}/${x}"
+ touch "${D}/${x}/.keep_${CATEGORY}_${PN}-${SLOT}" || die "Failed to create .keep in ${D}/${x}"
done
fi
}