From 1a7a23a4ccb08a59fc7c666ac4ff3c14fabf2882 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 6 Dec 2009 01:46:32 +0100 Subject: [PATCH] extract_distfiles(): after extracting if $wrksrc doesn't exist, create it. --HG-- extra : convert_revision : b72bf0188c83e9a676448ba5da3ca1b25c4df493 --- xbps-src/shutils/extract_funcs.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xbps-src/shutils/extract_funcs.sh b/xbps-src/shutils/extract_funcs.sh index 940fe152db..ecc8cc2b2f 100644 --- a/xbps-src/shutils/extract_funcs.sh +++ b/xbps-src/shutils/extract_funcs.sh @@ -172,5 +172,8 @@ extract_distfiles() esac done + if [ ! -d ${wrksrc} ]; then + mkdir -p ${wrksrc} + fi touch -f $XBPS_EXTRACT_DONE }