xbps-src: always check if build_style is set before checking its value.

This commit is contained in:
Juan RP 2011-10-24 20:18:16 +02:00
parent 2fe805e161
commit 02278e964c
6 changed files with 6 additions and 6 deletions

View file

@ -55,7 +55,7 @@ fetch_distfiles()
#
# There's nothing of interest if we are a meta template.
#
[ "$build_style" = "meta-template" ] && return 0
[ -n "$build_style" -a "$build_style" = "meta-template" ] && return 0
[ -f "$XBPS_FETCH_DONE" ] && return 0