jjb: update SLES detection in build scripts
[lttng-ci.git] / scripts / lttng-ust / build.sh
index b31f8ff817392bc8b72b8776f0f831ba4fd77689..a311594ca9dc6edffd7fbc4c3cb95e80476485ec 100755 (executable)
@@ -102,7 +102,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"
This page took 0.023526 seconds and 4 git commands to generate.