From dcd43cbe50f1bec299655b35d0c6bf6fd5a23236 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 16 Dec 2008 23:44:35 +0100 Subject: [PATCH] extract_funcs.sh: return if XBPS_BUILDDIR not writable. --HG-- extra : convert_revision : 1aa11d2c19f7678ab3d668ce6afcc1abd8553f23 --- utils/sh/extract_funcs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/sh/extract_funcs.sh b/utils/sh/extract_funcs.sh index 9b50375cfb..8d7feb5eb5 100644 --- a/utils/sh/extract_funcs.sh +++ b/utils/sh/extract_funcs.sh @@ -38,6 +38,8 @@ extract_distfiles() local f= [ -f $XBPS_EXTRACT_DONE ] && return 0 + [ ! -O $XBPS_BUILDDIR ] && \ + msg_error "can't extract distfile(s) (permission denied)" # # If we are being called via the target, just extract and return.