From beb5940593047d706071875437becc332aeca1d0 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 14 Mar 2019 13:05:02 -0400 Subject: lib/deps.sh, lib/metadata.sh, lib/package/2.sh: Wrap long lines lib/changelog.sh and lib/control.sh still have many long lines. --- (limited to 'lib') diff --git a/lib/deps.sh b/lib/deps.sh index ceb3723..fb25501 100644 --- a/lib/deps.sh +++ b/lib/deps.sh @@ -84,7 +84,8 @@ ob_parse_dep() ;; q) archqual_var="${OPTARG}" - if ! _ob_validate_var_name "${archqual_var}"; then + if ! _ob_validate_var_name "${archqual_var}" + then _ob_abort fi ;; diff --git a/lib/metadata.sh b/lib/metadata.sh index 5d35436..5aecf4a 100644 --- a/lib/metadata.sh +++ b/lib/metadata.sh @@ -90,13 +90,15 @@ ob_parse_version() case "${opt}" in u) upstreamver_var="${OPTARG}" - if ! _ob_validate_var_name "${upstreamver_var}"; then + if ! _ob_validate_var_name "${upstreamver_var}" + then _ob_abort fi ;; d) distrev_var="${OPTARG}" - if ! _ob_validate_var_name "${distrev_var}"; then + if ! _ob_validate_var_name "${distrev_var}" + then _ob_abort fi ;; diff --git a/lib/package/2.sh b/lib/package/2.sh index c113dba..1e68f40 100644 --- a/lib/package/2.sh +++ b/lib/package/2.sh @@ -28,13 +28,15 @@ _ob_parse_package_metadata_2() local pkg= ob_parse_control "${_OB_PACKAGE_DIR}/control" _ob_srcfield_2 '' \ - "${_OB_SOURCE_FIELDS_REQUIRED_2}" "${_OB_SOURCE_FIELDS_OPTIONAL_2}" + "${_OB_SOURCE_FIELDS_REQUIRED_2}" \ + "${_OB_SOURCE_FIELDS_OPTIONAL_2}" ob_parse_changelog "${_OB_PACKAGE_DIR}/changelog" _ob_change_2 for pkg in $(ob_get_binary_packages); do ob_parse_control "${_OB_PACKAGE_DIR}/${pkg}.pkg/control" \ _ob_binfield_2 "${pkg}" \ - "${_OB_BINARY_FIELDS_REQUIRED_2}" "${_OB_BINARY_FIELDS_OPTIONAL_2}" + "${_OB_BINARY_FIELDS_REQUIRED_2}" \ + "${_OB_BINARY_FIELDS_OPTIONAL_2}" done return 0 -- cgit v0.9.1