Skip to content

Commit

Permalink
Fix parsing error of h(p)*c wrappers (#5060)
Browse files Browse the repository at this point in the history
Add quotes to correctly handle whitespace.
  • Loading branch information
brtnfld authored Nov 2, 2024
1 parent 4863eca commit 35df4fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/h5cc.in
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ case "$CC" in
;;
esac

for arg in $@ ; do
for arg in "$@" ; do
if test "x$get_output_file" = "xyes"; then
link_args="$link_args $arg"
output_file="$arg"
Expand Down
2 changes: 1 addition & 1 deletion c++/src/h5c++.in
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ case "$CXX" in
;;
esac

for arg in $@ ; do
for arg in "$@" ; do
if test "x$get_output_file" = "xyes"; then
link_args="$link_args $arg"
output_file="$arg"
Expand Down
2 changes: 1 addition & 1 deletion fortran/src/h5fc.in
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ if test "$#" = "0"; then
usage
fi

for arg in $@ ; do
for arg in "$@" ; do
if test "x$get_output_file" = "xyes"; then
link_args="$link_args $arg"
output_file="$arg"
Expand Down

0 comments on commit 35df4fb

Please sign in to comment.