From a52f8bc222e0048d9dea33d5118e6c69735a5bde Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 26 Feb 2014 20:37:27 -0500 Subject: lib/buildsystem.sh: Fix a [ command. --- 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 -- cgit v0.9.1