From 4684fbbae4cd7b8f6d068ce9996b7759ca42e86c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 4 Oct 2013 16:30:10 -0400 Subject: librechroot/hook-chcleanup: look at /startdir/PKGBUILD, not /build/PKGBUILD --- src/chroot-tools/hooks-chcleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/chroot-tools/hooks-chcleanup.sh') 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 -- cgit v1.2.2