From 7e4a61c822193af138fa0bbd088cc05c52c29480 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 17 Dec 2008 08:40:39 +0100 Subject: [PATCH] extract_func.sh: don't check perms in chroot. --HG-- extra : convert_revision : 555418e9a3c1097bcfd78c355f86b1b344d10689 --- utils/sh/extract_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/sh/extract_funcs.sh b/utils/sh/extract_funcs.sh index 8d7feb5eb50..a952c21a74e 100644 --- a/utils/sh/extract_funcs.sh +++ b/utils/sh/extract_funcs.sh @@ -38,7 +38,7 @@ extract_distfiles() local f= [ -f $XBPS_EXTRACT_DONE ] && return 0 - [ ! -O $XBPS_BUILDDIR ] && \ + [ -z "$in_chroot" -a ! -O $XBPS_BUILDDIR ] && \ msg_error "can't extract distfile(s) (permission denied)" #