From 037cc48c4aa5baf515ecbef0131fc752c614a78b Mon Sep 17 00:00:00 2001 From: Mihai Moldovan Date: Wed, 1 Apr 2015 12:39:03 +0200 Subject: 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 -- cgit v1.2.3