Skip to content

Commit 2514a93

Browse files
committed
dist/buildrpm: fix incorrect test, which passed even with an empty path
Signed-off-by: Alex Margolin <alex.margolin@mail.huji.ac.il>
1 parent 55c0bda commit 2514a93

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)