[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: fix typos.
git-admin at x2go.org
git-admin at x2go.org
Mon Mar 23 05:24:11 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 7aa6ef6f6ab88586e246ca4434513de5c777a523
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Mar 23 05:23:55 2015 +0100
bin/build-rpm-package: fix typos.
---
bin/build-rpm-package | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index eea1821..b99acbe 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -125,12 +125,12 @@ get_extra_repository () {
;;
"redhat")
# Always use -r.
- ret="-r "
+ ret="-r"
if [ -n "${RPM_MOCK_CONFIG_DIR}" ]; then
# FIXME: these files should probably be autogenerated to lessen maintenance load.
# Add config base dir if specified.
- ret="${ret} ${RPM_MOCK_CONFIG_DIR}"
+ ret="${ret} ${RPM_MOCK_CONFIG_DIR}/"
# Mock config file names shall follow the format:
# distname-distversion-arch[-component-extra_repo_base_name[-extra_repo_full_name]]
@@ -138,11 +138,11 @@ get_extra_repository () {
# ^------- default -------^ ^--- for extras ---^^--- for everything ---^
# Add mandatory, default value.
- ret="${ret} ${DIST}-${CODENAME}-${ARCH}"
+ ret="${ret}${DIST}-${CODENAME}-${ARCH}"
if [ -n "${RPM_EXTRA_REPO_MOCK_CONFIG_BASE_NAME}" ]; then
ret="${ret}-${COMPONENT}-${RPM_EXTRA_REPO_MOCK_CONFIG_BASE_NAME}"
- if [-n "${RPM_EXTRA_REPO_MOCK_CONFIG_FULL_NAME}" ] && [ -z "${PACKAGE_WITHOUT_OTHERMIRROR}" ] || \
+ if [ -n "${RPM_EXTRA_REPO_MOCK_CONFIG_FULL_NAME}" ] && [ -z "${PACKAGE_WITHOUT_OTHERMIRROR}" ] || \
[ "${PACKAGE_WITHOUT_OTHERMIRROR}" != "${PACKAGE}" ]; then
ret="${ret}-${RPM_EXTRA_REPO_MOCK_CONFIG_FULL_NAME}"
fi
--
Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list