diff options
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-x | pbuilder-updatebuildenv | 2 |
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" |