summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2003-11-03 15:30:46 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2003-11-03 15:30:46 (GMT)
commita10e147ae8a3cadb22d6700c78e3c6967159e2e0 (patch)
tree7e5c549a5456a12a13e6248f4d1c39151511a5a6
parentfd7fc53c9d9030efc2665a35c9ff5d2da00dc7c6 (diff)
downloadhdf5-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:
-rwxr-xr-xtools/misc/h5redeploy.in2
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