summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2015-04-01 12:39:03 +0200
committerMihai Moldovan <ionic@ionic.de>2015-04-01 12:39:03 +0200
commit037cc48c4aa5baf515ecbef0131fc752c614a78b (patch)
treefac9bf1ea8ab409b2d269961ac7f63e6006b201b
parent115540dc06068205fc52b332c644a80c81a01d36 (diff)
downloadbuildscripts-037cc48c4aa5baf515ecbef0131fc752c614a78b.tar.gz
buildscripts-037cc48c4aa5baf515ecbef0131fc752c614a78b.tar.bz2
buildscripts-037cc48c4aa5baf515ecbef0131fc752c614a78b.zip
bin/build-rpm-package: remove stupid sedism.
-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