aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunichi Uekawa <dancer@coreduo.netfort.gr.jp>2007-06-16 17:01:18 +0900
committerJunichi Uekawa <dancer@coreduo.netfort.gr.jp>2007-06-16 17:01:18 +0900
commit9917a8cb2df4304ec39325fa7743feb57ef3af1c (patch)
tree5830165342d42de6c1dbd74c8ec6b2769217f4ac
parentaee1cbc771fd392c5e976ddf6f5738e4d562533f (diff)
downloadpbuilder-9917a8cb2df4304ec39325fa7743feb57ef3af1c.tar
pbuilder-9917a8cb2df4304ec39325fa7743feb57ef3af1c.tar.gz
* /var/cache/apt/archives is deleted when I set APTCACHE to /var/cache/apt/archives and I call pbuilder clean
(closes: #425832)
-rw-r--r--ChangeLog5
-rw-r--r--debian/changelog4
-rwxr-xr-xpbuilder2
3 files changed, 9 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d643867..6d0e1c4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-16 Junichi Uekawa <dancer@debian.org>
+
+ * pbuilder: rm "$APTCACHE"/*, instead of cleaning subdirectories.
+ Subdirectories shouldn't usually be created.
+
2007-06-15 Junichi Uekawa <dancer@debian.org>
* pbuilderrc.5: reorganize to maintain same ordering as pbuilder.8
diff --git a/debian/changelog b/debian/changelog
index d5e8db8..dfb4b3f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,10 @@ pbuilder (0.170) UNRELEASED; urgency=low
* add example rebuild script from Bastian Venthur
(http://people.debian.org/~venthur/stuff/2007-06-rebuild/)
+ * /var/cache/apt/archives is deleted when I set APTCACHE to /var/cache/apt/archives and I call pbuilder clean
+ (closes: #425832)
- -- Junichi Uekawa <dancer@debian.org> Thu, 07 Jun 2007 07:49:48 +0900
+ -- Junichi Uekawa <dancer@debian.org> Sat, 16 Jun 2007 16:59:28 +0900
pbuilder (0.169) unstable; urgency=low
diff --git a/pbuilder b/pbuilder
index d884df4..25af124 100755
--- a/pbuilder
+++ b/pbuilder
@@ -47,7 +47,7 @@ case "$1" in
fi
if [ -n "$APTCACHE" ]; then
echo "Cleaning [$APTCACHE]"
- clean_subdirectories "$APTCACHE" || true
+ rm "$APTCACHE"/* || true
fi
;;
--login|login)