aboutsummaryrefslogtreecommitdiffstats
path: root/platform
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-12-13 22:26:23 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2024-02-07 10:24:04 -0300
commit44b4657969356bf65f5b76bef38cf3e357a984a9 (patch)
treee89fe1043f2e6b8341bad545bf66e7046ffc0ec5 /platform
parentbuild: mkrpm.sh: use set -e (diff)
downloadfirejail-44b4657969356bf65f5b76bef38cf3e357a984a9.tar.gz
firejail-44b4657969356bf65f5b76bef38cf3e357a984a9.tar.zst
firejail-44b4657969356bf65f5b76bef38cf3e357a984a9.zip
build: mkrpm.sh: allow / in configure args
Diffstat (limited to 'platform')
-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