diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2003-11-03 15:31:36 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2003-11-03 15:31:36 (GMT) |
commit | d6773017261022d23432187c71c1aaaa5b4c0edc (patch) | |
tree | fa47086ee81b1e494efd8378eeb9c004fc06e61f /tools | |
parent | 48988885d681496001113c657107faa81d09e068 (diff) | |
download | hdf5-d6773017261022d23432187c71c1aaaa5b4c0edc.zip hdf5-d6773017261022d23432187c71c1aaaa5b4c0edc.tar.gz hdf5-d6773017261022d23432187c71c1aaaa5b4c0edc.tar.bz2 |
[svn-r7810] Purpose:
bug fix.
Description:
It sometimes complained of wrong number of argument to test.
This happened when more than 1 tool are redeployed.
The problem is due to an unquoted variable expanded into
multiple strings, confusing the test command.
Fixed by putting quotes around it.
Platforms tested:
only tested in verbena since it is trivial.
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/misc/h5redeploy.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/misc/h5redeploy.in b/tools/misc/h5redeploy.in index d642405..75d5a68 100755 --- a/tools/misc/h5redeploy.in +++ b/tools/misc/h5redeploy.in @@ -116,7 +116,7 @@ for x in $h5tools; do fi done -if [ -z $foundtools ]; then +if [ -z "$foundtools" ]; then ERROR "found no tools to modify" exit 1 fi |