diff options
author | asami <asami@FreeBSD.org> | 1999-09-11 13:19:32 +0000 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-09-11 13:19:32 +0000 |
commit | 24ed629de18ea02332cb0e6790f8a20ca1287a0b (patch) | |
tree | 65c701dc7448bbb34926fb05f60250ba08e071d6 /Tools | |
parent | e35cdbb0176f4938f0e7c1f4a054aa91ada928ea (diff) | |
download | FreeBSD-ports-24ed629de18ea02332cb0e6790f8a20ca1287a0b.zip FreeBSD-ports-24ed629de18ea02332cb0e6790f8a20ca1287a0b.tar.gz |
Remove /var/db/pkg/* *inside* chroot area, not outside.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/portbuild/scripts/portbuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/portbuild/scripts/portbuild b/Tools/portbuild/scripts/portbuild index 8f8702e..27ed80f 100755 --- a/Tools/portbuild/scripts/portbuild +++ b/Tools/portbuild/scripts/portbuild @@ -137,7 +137,7 @@ for dir in ${cleandirs}; do fi done -rm -rf /var/db/pkg/* +rm -rf ${chroot}/var/db/pkg/* chroot ${chroot} /sbin/ldconfig -R chroot ${chroot} /sbin/ldconfig -aout -m /usr/lib/aout @@ -192,7 +192,7 @@ if [ $noclean = 0 -o $error = 0 ]; then done chroot ${chroot} /sbin/ldconfig -R chroot ${chroot} /sbin/ldconfig -aout -R - rm -rf /var/db/pkg/* + rm -rf ${chroot}/var/db/pkg/* rm ${chroot}/used/${pkgname} rmdir ${chroot}/used fi |