extract_funcs.sh: return if XBPS_BUILDDIR not writable.

--HG--
extra : convert_revision : 1aa11d2c19f7678ab3d668ce6afcc1abd8553f23
This commit is contained in:
Juan RP 2008-12-16 23:44:35 +01:00
parent 204e393cd8
commit dcd43cbe50

View file

@ -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.