summaryrefslogtreecommitdiff
path: root/sofort
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-21 02:52:49 -0500
committermidipix <writeonce@midipix.org>2018-12-21 22:23:48 -0500
commitf1eb02db0e1df5bdd6861e6c1dd1378a15ee4175 (patch)
tree0c7d05be6ec4f1c697ac3f0ef35a576ba67652b3 /sofort
parent6dc107e7f4e085d47debf9ba7c4ef926fc20c1a0 (diff)
downloadsbpython2-f1eb02db0e1df5bdd6861e6c1dd1378a15ee4175.tar.bz2
sbpython2-f1eb02db0e1df5bdd6861e6c1dd1378a15ee4175.tar.xz
build system: cfgtest.sh: property test for a variable being empty.
Diffstat (limited to 'sofort')
-rw-r--r--sofort/cfgtest.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/sofort/cfgtest.sh b/sofort/cfgtest.sh
index b4e5686..caa000a 100644
--- a/sofort/cfgtest.sh
+++ b/sofort/cfgtest.sh
@@ -114,7 +114,7 @@ cfgtest_header_presence()
| sed -e 's/\./_/g' -e 's@/@_@g' \
| tr "[:lower:]" "[:upper:]")
- if [ -z $cfgtest_internal_unit_test ]; then
+ if [ -z ${cfgtest_internal_unit_test:-} ]; then
cfgtest_cflags_append "$mb_internal_str"
else
cfgtest_makevar_append "$mb_internal_str"
@@ -135,7 +135,7 @@ cfgtest_header_absence()
| sed -e 's/\./_/g' -e 's@/@_@g' \
| tr "[:lower:]" "[:upper:]")
- if [ -z $cfgtest_internal_unit_test ]; then
+ if [ -z ${cfgtest_internal_unit_test:-} ]; then
cfgtest_cflags_append "$mb_internal_str"
else
cfgtest_makevar_append "$mb_internal_str"
@@ -162,7 +162,7 @@ cfgtest_interface_presence()
| sed -e 's/\./_/g' \
| tr "[:lower:]" "[:upper:]")
- if [ -z $cfgtest_internal_unit_test ]; then
+ if [ -z ${cfgtest_internal_unit_test:-} ]; then
cfgtest_cflags_append "$mb_internal_str"
else
cfgtest_makevar_append "$mb_internal_str"
@@ -198,7 +198,7 @@ cfgtest_decl_presence()
| sed -e 's/\./_/g' \
| tr "[:lower:]" "[:upper:]")
- if [ -z $cfgtest_internal_unit_test ]; then
+ if [ -z ${cfgtest_internal_unit_test:-} ]; then
cfgtest_cflags_append "$mb_internal_str"
else
cfgtest_makevar_append "$mb_internal_str"