From 3f90efdcc56b1d758c1636c29ec5846b5158f992 Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Tue, 24 Mar 2015 04:58:47 +0100 Subject: bin/build-rpm-package: add period to error sentences. --- bin/build-rpm-package | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/build-rpm-package b/bin/build-rpm-package index ec77ae1..979605e 100755 --- a/bin/build-rpm-package +++ b/bin/build-rpm-package @@ -170,11 +170,11 @@ check_mock_version_atleast () { get_extra_repository () { TYPE="${1:?"Error: no type passed to ${FUNCNAME}()."}" - DIST="${2:?"Error: no distribution passed to ${FUNCNAME}()"}" - CODENAME="${3:?"Error: no codename (distro 'version') passed to ${FUNCNAME}()"}" - COMPONENT="${4:?"Error: no component (X2Go release group) passed to ${FUNCNAME}()"}" - PACKAGE="${5:?"Error: no package passed to ${FUNCAME}()"}" - ARCH="${6:?"Error: no architecture passed to ${FUNCNAME}()"}" + DIST="${2:?"Error: no distribution passed to ${FUNCNAME}()."}" + CODENAME="${3:?"Error: no codename (distro 'version') passed to ${FUNCNAME}()."}" + COMPONENT="${4:?"Error: no component (X2Go release group) passed to ${FUNCNAME}()."}" + PACKAGE="${5:?"Error: no package passed to ${FUNCAME}()."}" + ARCH="${6:?"Error: no architecture passed to ${FUNCNAME}()."}" ret="" # Note: we always add the extras repo, because that's defined as "packages missing from the main repository". -- cgit v1.2.3