Automatically create srcdir if it is missing
This commit is contained in:
parent
a6007c62d5
commit
9430cf5c7e
@ -391,6 +391,11 @@ unpack()
|
|||||||
local suffix
|
local suffix
|
||||||
local absfile
|
local absfile
|
||||||
|
|
||||||
|
# Create the $srcdir if it is missing
|
||||||
|
if [ ! -d $srcdir ]; then
|
||||||
|
echo "Creating $srcdir"
|
||||||
|
${__mkdir} -p $srcdir
|
||||||
|
fi
|
||||||
setdir $srcdir
|
setdir $srcdir
|
||||||
|
|
||||||
# If source contains an URL then first
|
# If source contains an URL then first
|
||||||
|
Loading…
x
Reference in New Issue
Block a user