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
|
@ -34,7 +34,7 @@ build_src_phase()
|
|||
[ -z $pkgname -o -z $version ] && return 1
|
||||
|
||||
# Skip this phase for meta-template style builds.
|
||||
[ "$build_style" = "meta-template" ] && return 0
|
||||
[ -m "$build_style" -a "$build_style" = "meta-template" ] && return 0
|
||||
|
||||
[ ! -d $wrksrc ] && msg_error "unexistent build directory [$wrksrc]\n"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue