summaryrefslogtreecommitdiffstats
path: root/lib/metadata
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-08-18 11:58:23 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-08-18 12:08:49 (EDT)
commitd1d4ea370080589ef7b6d891fdf70d433485187c (patch)
treee64a708b4a63d1d34b680cefaf28550aa0480371 /lib/metadata
parent9625f65278ff33a5f8e876ae27f4c0d8e7e48d74 (diff)
lib/*.sh, lib/*/*.sh: Rewrite include guards.
This is one step toward adding `set -u` to opkbuild.
Diffstat (limited to 'lib/metadata')
-rw-r--r--lib/metadata/proteanos.sh4
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>.
-[ -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='^'