diff options
author | P. J. McDermott <pjm@nac.net> | 2014-02-26 20:37:27 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2014-02-26 20:37:27 (EST) |
commit | a52f8bc222e0048d9dea33d5118e6c69735a5bde (patch) | |
tree | 66ae70141e44a59e5130e1c801c946f9ed8d2a69 | |
parent | 079946533905442c8a0fa1a25b76c99462e21b46 (diff) |
lib/buildsystem.sh: Fix a [ command.
-rw-r--r-- | lib/buildsystem.sh | 2 |
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 |