Skip to content

Commit

Permalink
build: mkrpm.sh: use --prefix=/usr by default
Browse files Browse the repository at this point in the history
For consistency with mkdeb.sh.
  • Loading branch information
kmk3 committed Feb 6, 2024
1 parent 38c7ab5 commit 7bed5a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/rpm/mkrpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set -e
name="$TARNAME"
# Strip any trailing prefix from the version like -rc1 etc
version="$(printf '%s\n' "$VERSION" | sed 's/\-.*//g')"
config_opt="--disable-userns --disable-contrib-install $*"
config_opt="--prefix=/usr --disable-userns --disable-contrib-install $*"

if [[ ! -f "platform/rpm/${name}.spec" ]]; then
printf 'error: spec file not found for name %s\n' "${name}" >&2
Expand Down

0 comments on commit 7bed5a8

Please sign in to comment.