[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: remove stupid sedism.

git-admin at x2go.org git-admin at x2go.org
Wed Apr 1 12:39:12 CEST 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit 037cc48c4aa5baf515ecbef0131fc752c614a78b
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Apr 1 12:39:03 2015 +0200

    bin/build-rpm-package: remove stupid sedism.
---
 bin/build-rpm-package |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index ae7462d..24e2fee 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -359,12 +359,12 @@ create_mock_config () { # MOCK_BASE CUSTOM_REPO COMPONENT TARGET
 		if [ "${FETCH_EXTRA_SECTION}" -eq "1" ] || [ "${FETCH_FULL_SECTION}" -eq "1" ]; then
 			TMP_REGEX='^[[:space:]]*gpgcheck[[:space:]]*=[[:space:]]*1[[:space:]]*$'
 			if [[ "${line}" =~ ${TMP_REGEX} ]]; then
-				line="${line/1/0/}"
+				line="${line/1/0}"
 			fi
 
 			TMP_REGEX='^[[:space:]]*enabled[[:space:]]*=[[:space:]]*0[[:space:]]*$'
 			if [[ "${line}" =~ ${TMP_REGEX} ]]; then
-				line="${line/0/1/}"
+				line="${line/0/1}"
 			fi
 
 			case "${line}" in

--
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