diff options
Diffstat (limited to 'lib/package')
-rw-r--r-- | lib/package/2.sh | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/lib/package/2.sh b/lib/package/2.sh index 88c7f9c..9484ab5 100644 --- a/lib/package/2.sh +++ b/lib/package/2.sh @@ -81,12 +81,20 @@ _ob_srcfield_2() _ob_change_2() { - _ob_set_source_parameter Source "${OB_CHANGELOG_SOURCE}" - _ob_set_source_parameter Version "${OB_CHANGELOG_VERSION}" - _ob_set_source_parameter Distribution "${OB_CHANGELOG_DISTRIBUTION}" - _ob_set_source_parameter Changes "${OB_CHANGELOG_CHANGES}" - _ob_set_source_parameter Uploader "${OB_CHANGELOG_MAINTAINER}" - _ob_set_source_parameter Date "${OB_CHANGELOG_DATE}" + local source="${1}" + local version="${2}" + local distribution="${3}" + local changes="${4}" + local maintainer="${5}" + local date="${6}" + shift 6 || _ob_abort + + _ob_set_source_parameter Source "${source}" + _ob_set_source_parameter Version "${version}" + _ob_set_source_parameter Distribution "${distribution}" + _ob_set_source_parameter Changes "${changes}" + _ob_set_source_parameter Uploader "${maintainer}" + _ob_set_source_parameter Date "${date}" # Parse only the first changelog entry. return 1 |