From a10e147ae8a3cadb22d6700c78e3c6967159e2e0 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 3 Nov 2003 10:30:46 -0500 Subject: [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: --- tools/misc/h5redeploy.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12