summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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