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
2 changed files with 1 additions and 7 deletions
|
@ -54,8 +54,7 @@ extract_distfiles()
|
||||||
#
|
#
|
||||||
# If noextract is set, do a "fake extraction".
|
# If noextract is set, do a "fake extraction".
|
||||||
#
|
#
|
||||||
if [ -n "$noextract" ]; then
|
if [ -z "$distfiles" -o -n "$noextract" ]; then
|
||||||
msg_normal "Manual extraction for $pkgname-$lver."
|
|
||||||
mkdir $wrksrc
|
mkdir $wrksrc
|
||||||
touch -f $XBPS_EXTRACT_DONE
|
touch -f $XBPS_EXTRACT_DONE
|
||||||
return 0
|
return 0
|
||||||
|
|
|
@ -160,11 +160,6 @@ prepare_tmpl()
|
||||||
#
|
#
|
||||||
[ "$build_style" = "meta-template" ] && return 0
|
[ "$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"
|
REQ_VARS="pkgname version build_style short_desc long_desc"
|
||||||
|
|
||||||
# Check if required vars weren't set.
|
# Check if required vars weren't set.
|
||||||
|
|
Loading…
Add table
Reference in a new issue