summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-04-22 21:06:24 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-04-22 21:06:24 (GMT)
commit08889823ea1379dfe024d177931572b787696a19 (patch)
tree3d0ac016ac5210e234c71dba3dced0f99c331d5a /examples
parent8b307b67d26f0a5d2d826d34b5138e87dd4c14ac (diff)
downloadhdf5-08889823ea1379dfe024d177931572b787696a19.zip
hdf5-08889823ea1379dfe024d177931572b787696a19.tar.gz
hdf5-08889823ea1379dfe024d177931572b787696a19.tar.bz2
[svn-r16842] Bug fix:
If the AR command has embedded shell separators such as the case of "AR = ar -X 64", $AR ends up as a blank. Solution: Put quotes around the command substitution string to protect against embedded separators. Applied the same to both AR and RANLIB assignments. Tested: At Up (AIX 5.3) only because that was where I discovered the error when AR is ar -X 64
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/testh5cc.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/testh5cc.sh.in b/examples/testh5cc.sh.in
index cf70c18..07c84ef 100755
--- a/examples/testh5cc.sh.in
+++ b/examples/testh5cc.sh.in
@@ -25,8 +25,8 @@
# Where the tool is installed.
prefix="${prefix:-@prefix@}"
PARALLEL=@PARALLEL@ # Am I in parallel mode?
-AR=@AR@
-RANLIB=@RANLIB@
+AR="@AR@"
+RANLIB="@RANLIB@"
if [ "$PARALLEL" = no ]; then
H5TOOL="h5cc" # The tool name
else