Skip to content

Commit 9c30da8

Browse files
committed
dist/buildrpm: fix incorrect test, which passed even with an empty path
Signed-off-by: Alex Margolin <[email protected]> (cherry picked from commit 2514a93)
1 parent cb33ea4 commit 9c30da8

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
@@ -254,7 +254,7 @@ echo "--> Found specfile: $specfile"
254254
#
255255
# try to find Libfabric lib subir
256256
#
257-
if test -n $libfabric_path; then
257+
if test -n "$libfabric_path"; then
258258
# does lib64 exist?
259259
if test -d $libfabric_path/lib64; then
260260
# yes, so I will use lib64 as include dir

0 commit comments

Comments
 (0)