Added noextract var. If set manual distfils extraction is required.
--HG-- extra : convert_revision : b1a2195517db3b511a2be87c0d4835a3178c4ffe
This commit is contained in:
parent
42d1bbc8c5
commit
d5e7f8c5d2
2 changed files with 12 additions and 2 deletions
|
@ -51,6 +51,16 @@ extract_distfiles()
|
|||
#
|
||||
[ "$build_style" = "meta-template" ] && return 0
|
||||
|
||||
#
|
||||
# If noextract is set, do a "fake extraction".
|
||||
#
|
||||
if [ -n "$noextract" ]; then
|
||||
msg_normal "Manual extraction for $pkgname-$version."
|
||||
mkdir $wrksrc
|
||||
touch -f $XBPS_EXTRACT_DONE
|
||||
return 0
|
||||
fi
|
||||
|
||||
for f in ${distfiles}; do
|
||||
count=$(($count + 1))
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue