summaryrefslogtreecommitdiffstats
path: root/lib/buildsystem.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-02-26 09:17:55 (EST)
committer P. J. McDermott <pjm@nac.net>2014-02-26 09:17:55 (EST)
commit4bc3153d49471238a40daddc68efef4af0e2a1a2 (patch)
tree8af3baf6f9bdf6b5aed3e957093c338f5684a405 /lib/buildsystem.sh
parent59827b32ca507d7f2dd004b09bf37728db969de3 (diff)
lib/*.sh, lib/*/*.sh: Rewrite include guards.
This is one step toward adding `set -u` to opkhelper utilities.
Diffstat (limited to 'lib/buildsystem.sh')
-rw-r--r--lib/buildsystem.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/buildsystem.sh b/lib/buildsystem.sh
index 39dcceb..0d695c8 100644
--- a/lib/buildsystem.sh
+++ b/lib/buildsystem.sh
@@ -17,8 +17,8 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-[ -n "${_OH_BUILDSYSTEM_SM}" ] && return 0
-_OH_BUILDSYSTEM_SM='true'
+[ "x${_OH_BUILDSYSTEM_SM+set}" = 'xset' ] && return 0
+_OH_BUILDSYSTEM_SM=1
_OH_BUILDSYSTEMS='
autoconf