xbps-src: if $noextract is set, also try to run the "do_extract" function if available.

This commit is contained in:
Juan RP 2010-12-23 02:13:40 +01:00
parent efd79dd5d3
commit f9135c92c8
1 changed files with 2 additions and 1 deletions

View File

@ -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