xbps-src: always check if build_style is set before checking its value.
This commit is contained in:
parent
2fe805e161
commit
02278e964c
6 changed files with 6 additions and 6 deletions
|
@ -245,7 +245,7 @@ prepare_tmpl()
|
|||
|
||||
REQ_VARS="pkgname version short_desc long_desc"
|
||||
|
||||
if [ "$build_style" = "meta-template" ]; then
|
||||
if [ -n "$build_style" -a "$build_style" = "meta-template" ]; then
|
||||
nofetch=yes
|
||||
noextract=yes
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue