diff options
author | 2023-12-13 22:26:23 -0300 | |
---|---|---|
committer | 2024-02-07 10:24:04 -0300 | |
commit | 44b4657969356bf65f5b76bef38cf3e357a984a9 (patch) | |
tree | e89fe1043f2e6b8341bad545bf66e7046ffc0ec5 /platform/rpm | |
parent | build: mkrpm.sh: use set -e (diff) | |
download | firejail-44b4657969356bf65f5b76bef38cf3e357a984a9.tar.gz firejail-44b4657969356bf65f5b76bef38cf3e357a984a9.tar.zst firejail-44b4657969356bf65f5b76bef38cf3e357a984a9.zip |
build: mkrpm.sh: allow / in configure args
Diffstat (limited to 'platform/rpm')
-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 | ||