Skip to content

Commit c89eaac

Browse files
authored
Merge pull request #12631 from alex--m/topic/fix_dist_buildrpm_v4.1.x
v4.1.x: dist/buildrpm: fix incorrect test, which passed even with an empty path
2 parents cb33ea4 + 9c30da8 commit c89eaac

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)