Bah, fix another error with custom-install and distfiles not set.

--HG--
extra : convert_revision : e234012ab35ffa018945366eb81ecdabefdd5b01
This commit is contained in:
Juan RP 2009-03-29 09:46:55 +02:00
parent 105ba02e05
commit c4435b0b56
2 changed files with 1 additions and 7 deletions

View File

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

View File

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