From bb1e843bab9c430db0bb4a9012c0616fac5c0739 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 22 Dec 2018 21:18:46 -0500 Subject: libopkbuild: Drop include guards --- (limited to 'lib') diff --git a/lib/changelog.sh b/lib/changelog.sh index 29c419e..1d75cbd 100644 --- a/lib/changelog.sh +++ b/lib/changelog.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -[ x"${_OB_CHANGELOG_SM+set}" = x'set' ] && return 0 -_OB_CHANGELOG_SM=1 - OB_CHANGELOG_SOURCE= OB_CHANGELOG_VERSION= OB_CHANGELOG_DISTRIBUTION= diff --git a/lib/common.sh b/lib/common.sh index a2590c8..cc7878f 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -[ x"${_OB_COMMON_SM+set}" = x'set' ] && return 0 -_OB_COMMON_SM=1 - _ob_validate_var_name() { case "${1}" in diff --git a/lib/control.sh b/lib/control.sh index 59a69c4..a866404 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -[ x"${_OB_CONTROL_SM+set}" = x'set' ] && return 0 -_OB_CONTROL_SM=1 - _OB_SUBSTVARS_MAX_DEPTH=50 OB_CONTROL_NAME= diff --git a/lib/deps.sh b/lib/deps.sh index 3e51930..167c41b 100644 --- a/lib/deps.sh +++ b/lib/deps.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -[ x"${_OB_DEPS_SM+set}" = x'set' ] && return 0 -_OB_DEPS_SM=1 - ob_parse_dep() { local opt= diff --git a/lib/locale.sh b/lib/locale.sh index 43f5ec3..67fbaad 100644 --- a/lib/locale.sh +++ b/lib/locale.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -[ x"${_OB_LOCALE_SM+set}" = x'set' ] && return 0 -_OB_LOCALE_SM=1 - _OB_DEFAULT_LOCALE='en_US' _OB_INTERNAL_TEXT_DOMAIN='libopkbuild_1' _OB_TEXT_DOMAIN= diff --git a/lib/metadata.sh b/lib/metadata.sh index 62f5328..e5e61d8 100644 --- a/lib/metadata.sh +++ b/lib/metadata.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -[ x"${_OB_METADATA_SM+set}" = x'set' ] && return 0 -_OB_METADATA_SM=1 - ob_validate_source_name() { local name= diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh index bb07b6b..51f655e 100644 --- a/lib/metadata/proteanos.sh +++ b/lib/metadata/proteanos.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -[ 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='^' _OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'[0-9a-z.~-]+' diff --git a/lib/output.sh b/lib/output.sh index d6982be..a04df2b 100644 --- a/lib/output.sh +++ b/lib/output.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -[ x"${_OB_OUTPUT_SM+set}" = x'set' ] && return 0 -_OB_OUTPUT_SM=1 - ob_error() { printf '%s: Error: ' "${0##*/}" >&2 diff --git a/lib/package.sh b/lib/package.sh index aad1d8f..036a37d 100644 --- a/lib/package.sh +++ b/lib/package.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -[ x"${_OB_PACKAGE_SM+set}" = x'set' ] && return 0 -_OB_PACKAGE_SM=1 - _OB_PACKAGE_DIR= _OB_PACKAGE_FORMAT= _OB_BINARY_PACKAGES= diff --git a/lib/package/2.sh b/lib/package/2.sh index 0be38fc..1090d15 100644 --- a/lib/package/2.sh +++ b/lib/package/2.sh @@ -17,9 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -[ x"${_OB_PACKAGE_2_SM+set}" = x'set' ] && return 0 -_OB_PACKAGE_2_SM=1 - _OB_SOURCE_FIELDS_REQUIRED_2='Maintainer' _OB_SOURCE_FIELDS_OPTIONAL_2='Build-Depends Homepage' _OB_BINARY_FIELDS_REQUIRED_2='Architecture Platform Description' -- cgit v0.9.1