Skip to content

Commit 691e780

Browse files
authored
Merge pull request #12622 from alex--m/topic/fix_dist_buildrpm
dist/buildrpm: fix incorrect test, which passed even with an empty path
2 parents c681fa6 + 2514a93 commit 691e780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/dist/linux/buildrpm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ echo "--> Found specfile: $specfile"
253253
#
254254
# try to find Libfabric lib subir
255255
#
256-
if test -n $libfabric_path; then
256+
if test -n "$libfabric_path"; then
257257
# does lib64 exist?
258258
if test -d $libfabric_path/lib64; then
259259
# yes, so I will use lib64 as include dir

0 commit comments

Comments
 (0)