diff options
Diffstat (limited to 'platform')
-rwxr-xr-x | platform/rpm/mkrpm.sh | 6 |
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 |
40 | tmp_spec_file="${tmpdir}/SPECS/${name}.spec" | 40 | tmp_spec_file="${tmpdir}/SPECS/${name}.spec" |
41 | sed -e "s/__NAME__/${name}/g" \ | 41 | sed -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 | ||