summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/buildsystem.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buildsystem.sh b/lib/buildsystem.sh
index 28893e2..5c76922 100644
--- a/lib/buildsystem.sh
+++ b/lib/buildsystem.sh
@@ -95,7 +95,7 @@ oh_buildsystem_find()
return 125
fi
- if [ "x${_OH_BUILDSYSTEM_SYSTEM+set}" = 'xset' ]; then
+ if [ "x${_OH_BUILDSYSTEM_SYSTEM}" != 'x' ]; then
if "_oh_${_OH_BUILDSYSTEM_SYSTEM}_can_${test_step}"; then
printf '%s\n' "${_OH_BUILDSYSTEM_SYSTEM}"
return 0