[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: fix gpgcheck regex.

git-admin at x2go.org git-admin at x2go.org
Wed Apr 1 12:30:20 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 79ce5a0d5b415c21acd458cbcf3ba89996ab51aa
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Apr 1 12:30:10 2015 +0200

    bin/build-rpm-package: fix gpgcheck regex.
---
 bin/build-rpm-package |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index c344dc9..d79fb02 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -357,7 +357,7 @@ create_mock_config () { # MOCK_BASE CUSTOM_REPO COMPONENT TARGET
 
 		# Change some values like $releasever or gpgcheck.
 		if [ "${FETCH_EXTRA_SECTION}" -eq "1" ] || [ "${FETCH_FULL_SECTION}" -eq "1" ]; then
-			TMP_REGEX='^[[:space:]]*gpgcheck[[:space:]]*=[[:space:]]*1[[:space:]]$'
+			TMP_REGEX='^[[:space:]]*gpgcheck[[:space:]]*=[[:space:]]*1[[:space:]]*$'
 			if [[ "${line}" =~ ${TMP_REGEX} ]]; then
 				line="${line/1/0/}"
 			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