summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-04-01 12:30:10 +0200
committerMihai Moldovan <ionic@ionic.de>2015-04-01 12:30:10 +0200
commit79ce5a0d5b415c21acd458cbcf3ba89996ab51aa (patch)
tree1204dc770451d6f01b0c195d66bcc0ee7893480c
parent5700080edcaba0cc3b4e1e3876a05fb3ff3311b8 (diff)
downloadbuildscripts-79ce5a0d5b415c21acd458cbcf3ba89996ab51aa.tar.gz
buildscripts-79ce5a0d5b415c21acd458cbcf3ba89996ab51aa.tar.bz2
buildscripts-79ce5a0d5b415c21acd458cbcf3ba89996ab51aa.zip
bin/build-rpm-package: fix gpgcheck regex.
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
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