From 4abd9654db77c2810b5618ddcee94222ef35b31d Mon Sep 17 00:00:00 2001 From: midipix Date: Dec 22 2018 03:02:13 +0000 Subject: project: custom config: configure: unify the syntax for yes/no tests. --- diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh index 1d3014c..347e0f6 100644 --- a/project/config/cfgdefs.sh +++ b/project/config/cfgdefs.sh @@ -152,7 +152,7 @@ cfgdefs_perform_common_tests() cfgtest_makevar_append '-DNCURSES_INTERNALS' # - if [ -n "$mb_panel_wrapper" ]; then + if [ _${mb_panel_wrapper:-} = _yes ]; then cfgtest_makevar_append '-I$(PROJECT_DIR)/wrappers' unset mb_panel_wrapper fi