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 noextract is set, do a "fake extraction".
|
||||||
#
|
#
|
||||||
if [ -z "$distfiles" -o -n "$noextract" ]; then
|
if [ -n "$noextract" ]; then
|
||||||
mkdir $wrksrc
|
mkdir $wrksrc
|
||||||
|
run_func do_extract
|
||||||
touch -f $XBPS_EXTRACT_DONE
|
touch -f $XBPS_EXTRACT_DONE
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue