summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-xbin/build-rpm-package4
1 files 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