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 noextract is set, do a "fake extraction".
|
||||||
#
|
#
|
||||||
if [ -z "$distfiles" -o -n "$noextract" ]; then
|
if [ -z "$distfiles" -o -n "$noextract" ]; then
|
||||||
mkdir $wrksrc
|
[ ! -d "$wrksrc" ] && mkdir -p $wrksrc
|
||||||
run_func do_extract
|
run_func do_extract
|
||||||
touch -f $XBPS_EXTRACT_DONE
|
touch -f $XBPS_EXTRACT_DONE
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue