diff --git a/xbps-src/shutils/extract_funcs.sh b/xbps-src/shutils/extract_funcs.sh index 8f443a1dd0c..fa58649c5bb 100644 --- a/xbps-src/shutils/extract_funcs.sh +++ b/xbps-src/shutils/extract_funcs.sh @@ -53,7 +53,7 @@ extract_distfiles() # # If noextract is set, do a "fake extraction". # - if [ -n "$noextract" ]; then + if [ -z "$distfiles" -o -n "$noextract" ]; then mkdir $wrksrc run_func do_extract touch -f $XBPS_EXTRACT_DONE