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
|
@ -75,7 +75,7 @@ stow_pkg_real()
|
|||
msg_error "cannot stow $pkgname! (permission denied)\n"
|
||||
fi
|
||||
|
||||
if [ "$build_style" = "meta-template" ]; then
|
||||
if [ -n "$build_style" -a "$build_style" = "meta-template" ]; then
|
||||
[ ! -d ${DESTDIR} ] && mkdir -p ${DESTDIR}
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue