From 4bc3153d49471238a40daddc68efef4af0e2a1a2 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 26 Feb 2014 09:17:55 -0500 Subject: lib/*.sh, lib/*/*.sh: Rewrite include guards. This is one step toward adding `set -u` to opkhelper utilities. --- (limited to 'lib/buildsystem/kbuild.sh') diff --git a/lib/buildsystem/kbuild.sh b/lib/buildsystem/kbuild.sh index 8db2f59..3d6fd1b 100644 --- a/lib/buildsystem/kbuild.sh +++ b/lib/buildsystem/kbuild.sh @@ -17,8 +17,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -[ -n "${_OH_BUILDSYSTEM_KBUILD_SM}" ] && return 0 -_OH_BUILDSYSTEM_KBUILD_SM='true' +[ "x${_OH_BUILDSYSTEM_KBUILD_SM+set}" = 'xset' ] && return 0 +_OH_BUILDSYSTEM_KBUILD_SM=1 _oh_kbuild_can_configure() { -- cgit v0.9.1