xbps-src: rename disable_debug to nodebug, to follow our naming convention.

This commit is contained in:
Juan RP 2014-11-16 11:52:36 +01:00
parent 91b879add8
commit 8ade12549f
4 changed files with 8 additions and 8 deletions

View file

@ -320,14 +320,14 @@ setup_pkg() {
fi
if [ -z "$XBPS_DEBUG_PKGS" -o "$repository" = "nonfree" ]; then
disable_debug=yes
nodebug=yes
fi
# If a package sets force_debug_pkgs, always build -dbg pkgs.
if [ -n "$force_debug_pkgs" ]; then
unset disable_debug
unset nodebug
fi
# -g is required to build -dbg packages.
if [ -z "$disable_debug" ]; then
if [ -z "$nodebug" ]; then
dbgflags="-g"
fi