From d1d4ea370080589ef7b6d891fdf70d433485187c Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 18 Aug 2013 11:58:23 -0400 Subject: lib/*.sh, lib/*/*.sh: Rewrite include guards. This is one step toward adding `set -u` to opkbuild. --- (limited to 'lib/metadata') diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh index 493f30a..830b205 100644 --- a/lib/metadata/proteanos.sh +++ b/lib/metadata/proteanos.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 "${_OB_METADATA_PROTEANOS_SM}" ] && return 0 -_OB_METADATA_PROTEANOS_SM='true' +[ x"${_OB_METADATA_PROTEANOS_SM+set}" = x'set' ] && return 0 +_OB_METADATA_PROTEANOS_SM=1 _OB_NAME_RE_PROTEANOS='^[a-z0-9][a-z0-9+.-]+$' _OB_VERSION_RE_PROTEANOS='^' -- cgit v0.9.1