[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: fix up some comments only.
git-admin at x2go.org
git-admin at x2go.org
Sat Sep 2 07:26:51 CEST 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 23c65b1a692b7fa759602027c0e6273c0c9aac26
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Sep 2 07:26:21 2017 +0200
bin/build-rpm-package: fix up some comments only.
---
bin/build-rpm-package | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index e2e235f..c2c0986 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -271,7 +271,7 @@ create_mock_config () { # MOCK_BASE CUSTOM_REPO COMPONENT TARGET
typeset DISTRO=""
typeset VERSION=""
- # distribution - version - arch
+ # distribution - version - arch
TMP_REGEX='^([[:alpha:]]+)-([[:alnum:]_]+)-[[:alnum:]_]+\.cfg$'
if [[ ! "${MOCK_BASE}" =~ ${TMP_REGEX} ]]; then
echo "Error: MOCK_BASE parameter not well formed. Must be: 'distro-version-arch.cfg'." >&2
@@ -427,7 +427,7 @@ create_mock_config () { # MOCK_BASE CUSTOM_REPO COMPONENT TARGET
# Cache config file to work around mock constantly rebuilding its cache if the
# config file's modification time is newer than the cache, even though the
- # the config file's content didn't change between runs.
+ # config file's content didn't change between runs.
cache_mock_config
return 0
@@ -994,8 +994,8 @@ upload_packages() {
# Yes, "SRPM" is technically not an architecture.
for l_ARCH in x86_64 i386 SRPM; do
if [ "x${SKIP_ARCH}" != "x${l_ARCH}" ]; then
- # Rename the i386 arch to i586 for OpenSuSE and SLE{S,D}.
if [ "${l_DIST}" = "opensuse" ] || [ "${l_DIST}" = "sle" ]; then
+ # Rename the i386 arch to i586 for OpenSuSE and SLE{S,D}.
if [ "${l_ARCH}" = "i386" ]; then
l_ARCH="i586"
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