aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xplatform/rpm/mkrpm.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/rpm/mkrpm.sh b/platform/rpm/mkrpm.sh
index da0c19c18..0221fa607 100755
--- a/platform/rpm/mkrpm.sh
+++ b/platform/rpm/mkrpm.sh
@@ -38,9 +38,9 @@ trap cleanup EXIT
38 38
39# Create the spec file 39# Create the spec file
40tmp_spec_file="${tmpdir}/SPECS/${name}.spec" 40tmp_spec_file="${tmpdir}/SPECS/${name}.spec"
41sed -e "s/__NAME__/${name}/g" \ 41sed -e "s|__NAME__|${name}|g" \
42 -e "s/__VERSION__/${version}/g" \ 42 -e "s|__VERSION__|${version}|g" \
43 -e "s/__CONFIG_OPT__/${config_opt}/g" \ 43 -e "s|__CONFIG_OPT__|${config_opt}|g" \
44 "platform/rpm/${name}.spec" >"${tmp_spec_file}" 44 "platform/rpm/${name}.spec" >"${tmp_spec_file}"
45# FIXME: We could parse RELNOTES and create a %changelog section here 45# FIXME: We could parse RELNOTES and create a %changelog section here
46 46