common: fix "$repository" = "nonfree" comparision.

This commit is contained in:
Enno Boland 2014-11-05 14:55:47 +01:00
parent cb7c83f230
commit 1a75818e7b

View file

@ -320,7 +320,7 @@ setup_pkg() {
fi
# For nonfree/bootstrap pkgs there's no point in building -dbg pkgs, disable them.
if [ -z "$XBPS_DEBUG_PKGS" -o -n "$repository" = "nonfree" -o -n "$bootstrap" ]; then
if [ -z "$XBPS_DEBUG_PKGS" -o "$repository" = "nonfree" -o -n "$bootstrap" ]; then
disable_debug=yes
fi
# If a package sets force_debug_pkgs, always build -dbg pkgs.