diff options
author | asami <asami@FreeBSD.org> | 1999-09-11 21:19:32 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-09-11 21:19:32 +0800 |
commit | 24ed629de18ea02332cb0e6790f8a20ca1287a0b (patch) | |
tree | 65c701dc7448bbb34926fb05f60250ba08e071d6 /Tools/portbuild | |
parent | e35cdbb0176f4938f0e7c1f4a054aa91ada928ea (diff) | |
download | freebsd-ports-gnome-24ed629de18ea02332cb0e6790f8a20ca1287a0b.tar.gz freebsd-ports-gnome-24ed629de18ea02332cb0e6790f8a20ca1287a0b.tar.zst freebsd-ports-gnome-24ed629de18ea02332cb0e6790f8a20ca1287a0b.zip |
Remove /var/db/pkg/* *inside* chroot area, not outside.
Diffstat (limited to 'Tools/portbuild')
-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 8f8702ee92f4..27ed80f62f12 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 |