diff options
author | Albert Cheng <acheng@hdfgroup.org> | 2003-11-03 15:30:46 (GMT) |
---|---|---|
committer | Albert Cheng <acheng@hdfgroup.org> | 2003-11-03 15:30:46 (GMT) |
commit | a10e147ae8a3cadb22d6700c78e3c6967159e2e0 (patch) | |
tree | 7e5c549a5456a12a13e6248f4d1c39151511a5a6 /tools/misc/h5redeploy.in | |
parent | fd7fc53c9d9030efc2665a35c9ff5d2da00dc7c6 (diff) | |
download | hdf5-a10e147ae8a3cadb22d6700c78e3c6967159e2e0.zip hdf5-a10e147ae8a3cadb22d6700c78e3c6967159e2e0.tar.gz hdf5-a10e147ae8a3cadb22d6700c78e3c6967159e2e0.tar.bz2 |
[svn-r7809] 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 eirene since it is trivial.
Misc. update:
Diffstat (limited to 'tools/misc/h5redeploy.in')
-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 |