Skip to content

Commit

Permalink
expand rpmbuild topdir instead of switching
Browse files Browse the repository at this point in the history
  • Loading branch information
erichte-ibm committed Sep 6, 2023
1 parent ddf46f1 commit f174050
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions ci/build-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@

VERSION=1.0


if [[ $(cat /etc/os-release | grep "^ID=") == *"suse"* ]]; then
RPMBUILD_ROOT=/usr/src/packages
else
RPMBUILD_ROOT=/root/rpmbuild
fi
RPMBUILD_ROOT=$(rpmbuild -E %_topdir)

set -e

Expand Down

0 comments on commit f174050

Please sign in to comment.