summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-04-22 19:49:22 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-04-22 19:49:22 (GMT)
commit145782f9154b0368a80126e8413dd9fdd7561f7f (patch)
tree2bfd976203511c1ac04a4795147a5e8ce43efb5e /fortran
parentb9b28ce4cc8ce8ed29236db7694260da0f1a7a46 (diff)
downloadhdf5-145782f9154b0368a80126e8413dd9fdd7561f7f.zip
hdf5-145782f9154b0368a80126e8413dd9fdd7561f7f.tar.gz
hdf5-145782f9154b0368a80126e8413dd9fdd7561f7f.tar.bz2
[svn-r16838] 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 'fortran')
-rwxr-xr-xfortran/examples/testh5fc.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/fortran/examples/testh5fc.sh.in b/fortran/examples/testh5fc.sh.in
index 9f2d9bf..a25abbe 100755
--- a/fortran/examples/testh5fc.sh.in
+++ b/fortran/examples/testh5fc.sh.in
@@ -23,8 +23,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="h5fc" # The tool name
else