xbps-src: if $noextract is set, also try to run the "do_extract" function if available.
This commit is contained in:
parent
efd79dd5d3
commit
f9135c92c8
|
@ -53,8 +53,9 @@ extract_distfiles()
|
|||
#
|
||||
# If noextract is set, do a "fake extraction".
|
||||
#
|
||||
if [ -z "$distfiles" -o -n "$noextract" ]; then
|
||||
if [ -n "$noextract" ]; then
|
||||
mkdir $wrksrc
|
||||
run_func do_extract
|
||||
touch -f $XBPS_EXTRACT_DONE
|
||||
return 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue