summaryrefslogtreecommitdiff
path: root/src/chroot-tools/hooks-chcleanup.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-10-04 16:30:10 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-10-04 16:30:10 -0400
commit4684fbbae4cd7b8f6d068ce9996b7759ca42e86c (patch)
tree2a98580947ff400dc70161f00b9f77497af92d15 /src/chroot-tools/hooks-chcleanup.sh
parent93240c2568e50f43d2854efce97a31deb198b611 (diff)
librechroot/hook-chcleanup: look at /startdir/PKGBUILD, not /build/PKGBUILD
Diffstat (limited to 'src/chroot-tools/hooks-chcleanup.sh')
-rw-r--r--src/chroot-tools/hooks-chcleanup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/hooks-chcleanup.sh b/src/chroot-tools/hooks-chcleanup.sh
index 198bc36..3c91c35 100644
--- a/src/chroot-tools/hooks-chcleanup.sh
+++ b/src/chroot-tools/hooks-chcleanup.sh
@@ -7,7 +7,7 @@ clean_chroot() (
set +x
local copydir=$1
if $INCHROOT; then
- cd /build
+ cd /startdir
sudo -u nobody "$(librelib chroot/chcleanup)"
else
librechroot "${librechroot_flags[@]}" clean-pkgs