aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
authordancer <dancer>2005-06-03 20:06:06 +0000
committerdancer <dancer>2005-06-03 20:06:06 +0000
commit717956831fd66d3b70a69fad659e3cb0c1df3cca (patch)
treee96581da399f71205ecd0a4c47bedc26cdfe029a /pbuilder-updatebuildenv
parent838c57007b99dd4d886645f463fd8b7279607f5c (diff)
downloadpbuilder-717956831fd66d3b70a69fad659e3cb0c1df3cca.tar
pbuilder-717956831fd66d3b70a69fad659e3cb0c1df3cca.tar.gz
autoclean option.
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index 112007e..bf89842 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -53,7 +53,7 @@ if [ "${AUTOCLEANAPTCACHE}" = "yes" -a -n "$APTCACHE" ]; then
echo " -> Cleaning the cached apt archive"
$CHROOTEXEC /usr/bin/apt-get autoclean || true
find "$APTCACHE/" -name \*.deb -maxdepth 1 | \
- while rezad A; do
+ while read A; do
if [ ! -f "$BUILDPLACE/var/cache/apt/archives/"$(basename "$A") -a \
-f "$A" ]; then
echo " -> obsolete cache content "$(basename "$A")" removed"