From 9c30da84e09f3c5a98a7d188bd0cc56588889d23 Mon Sep 17 00:00:00 2001 From: Alex Margolin Date: Fri, 14 Jun 2024 22:16:14 +0300 Subject: [PATCH] dist/buildrpm: fix incorrect test, which passed even with an empty path Signed-off-by: Alex Margolin (cherry picked from commit 2514a936223a831f360584981c0abfd6455fa417) --- contrib/dist/linux/buildrpm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/dist/linux/buildrpm.sh b/contrib/dist/linux/buildrpm.sh index 3b609ee574c..b22a96fd283 100755 --- a/contrib/dist/linux/buildrpm.sh +++ b/contrib/dist/linux/buildrpm.sh @@ -254,7 +254,7 @@ echo "--> Found specfile: $specfile" # # try to find Libfabric lib subir # -if test -n $libfabric_path; then +if test -n "$libfabric_path"; then # does lib64 exist? if test -d $libfabric_path/lib64; then # yes, so I will use lib64 as include dir