Skip to content

Commit

Permalink
[PKG-144]: Fixes issue in command to get clang version. (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
maqeel75 committed Jul 25, 2024
1 parent d7999f1 commit 778043a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion percona-packaging/scripts/pg_stat_monitor_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ install_deps() {

if [ x"$RHEL" = x8 ];
then
clang_version=$(yum list --showduplicates clang-devel | grep "17.0" | awk '{print $2}' | head -n 1)
clang_version=$(yum list --showduplicates clang-devel | grep "17.0" | grep clang | awk '{print $2}' | head -n 1)
yum install -y clang-devel-${clang_version} clang-${clang_version}
dnf module -y disable llvm-toolset
else
Expand Down

0 comments on commit 778043a

Please sign in to comment.