xbps-src: check that doesn't exist before mkdir.
This commit is contained in:
parent
1e7f7b5f00
commit
f5f89bc6ff
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ extract_distfiles()
|
|||
# If noextract is set, do a "fake extraction".
|
||||
#
|
||||
if [ -z "$distfiles" -o -n "$noextract" ]; then
|
||||
mkdir $wrksrc
|
||||
[ ! -d "$wrksrc" ] && mkdir -p $wrksrc
|
||||
run_func do_extract
|
||||
touch -f $XBPS_EXTRACT_DONE
|
||||
return 0
|
||||
|
|
Loading…
Reference in a new issue