Bah, fix another error with custom-install and distfiles not set.
--HG-- extra : convert_revision : e234012ab35ffa018945366eb81ecdabefdd5b01
This commit is contained in:
parent
105ba02e05
commit
c4435b0b56
|
@ -54,8 +54,7 @@ extract_distfiles()
|
|||
#
|
||||
# If noextract is set, do a "fake extraction".
|
||||
#
|
||||
if [ -n "$noextract" ]; then
|
||||
msg_normal "Manual extraction for $pkgname-$lver."
|
||||
if [ -z "$distfiles" -o -n "$noextract" ]; then
|
||||
mkdir $wrksrc
|
||||
touch -f $XBPS_EXTRACT_DONE
|
||||
return 0
|
||||
|
|
|
@ -160,11 +160,6 @@ prepare_tmpl()
|
|||
#
|
||||
[ "$build_style" = "meta-template" ] && return 0
|
||||
|
||||
if [ "$build_style" = "custom-install" -a -z "$distfiles" ]; then
|
||||
set_tmpl_common_vars
|
||||
return 0
|
||||
fi
|
||||
|
||||
REQ_VARS="pkgname version build_style short_desc long_desc"
|
||||
|
||||
# Check if required vars weren't set.
|
||||
|
|
Loading…
Reference in New Issue