diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1999-09-11 13:19:32 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1999-09-11 13:19:32 +0000 |
commit | 4e920fa436007e2e3664f5054c918e7149a87955 (patch) | |
tree | 3b74f428729c9d7819f1163dfa93b36f8feb6b7b /Tools | |
parent | a780b738bc875890a5a3d180c35446b64f089311 (diff) | |
download | ports-4e920fa436007e2e3664f5054c918e7149a87955.tar.gz ports-4e920fa436007e2e3664f5054c918e7149a87955.zip |
Remove /var/db/pkg/* *inside* chroot area, not outside.
Notes
Notes:
svn path=/head/; revision=21663
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 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 |