summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/fakechroot/PKGBUILD2
1 files changed, 2 insertions, 0 deletions
diff --git a/extra/fakechroot/PKGBUILD b/extra/fakechroot/PKGBUILD
index 58b4fb30e..203525ccb 100644
--- a/extra/fakechroot/PKGBUILD
+++ b/extra/fakechroot/PKGBUILD
@@ -16,6 +16,8 @@ md5sums=('3ea5efb76664e787450e0cfcefc1b807')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
+ # Somehow not all files use the chroot found by configure.
+ find test -type f | xargs sed -i 's,/usr/sbin/chroot,/usr/bin/chroot,'
./configure --prefix=/usr --libdir=/usr/lib/libfakeroot --sysconfdir=/etc
make
}