X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fbabeltrace%2Fbuild.sh;fp=scripts%2Fbabeltrace%2Fbuild.sh;h=91681d01e39ac4c3c918671cd0c8d5836ee5300a;hb=47ca4354b62b8a958f32086a066965aa23342357;hp=6f2f0f76174e872aef508aa715f263291f300e7b;hpb=f3c8d88cc97005f2e40e39538027f4e49c32c1c0;p=lttng-ci.git diff --git a/scripts/babeltrace/build.sh b/scripts/babeltrace/build.sh index 6f2f0f7..91681d0 100755 --- a/scripts/babeltrace/build.sh +++ b/scripts/babeltrace/build.sh @@ -110,7 +110,7 @@ LIBDIR_ARCH="$LIBDIR" # RHEL and SLES both use lib64 but don't bother shipping a default autoconf # site config that matches this. -if [[ ( -f /etc/redhat-release || -f /etc/SuSE-release || -f /etc/yocto-release ) ]]; then +if [[ ( -f /etc/redhat-release || -f /etc/products.d/SLES.prod || -f /etc/yocto-release ) ]]; then # Detect the userspace bitness in a distro agnostic way if file -L /bin/bash | grep '64-bit' >/dev/null 2>&1; then LIBDIR_ARCH="${LIBDIR}64"