pkgsrc/devel/hdf5/patches/patch-tools_h5jam_testh5jam.sh.in
adam 1bcf58e4aa Changes 1.8.10:
* The following new C function has been added:
	H5Pget_mpio_no_collective_cause
* The following new Fortran subroutine has been added:
	h5pget_mpio_actual_io_mode_f
* The syntax of the following high-level C function has changed:
	H5TBAget_fill
This function’s return type has been changed to h5tri_t. A return value of 1 indicates that a fill value is present, 0 indicates that no fill value is present, and a negative value indicates an error. (The former return type was herr_t.)
Note that H5TBAget_fill and a companion function H5TBAget_title, both in the HDF5 Table (H5TB) high-level API, are undocumented. These functions will be added to the HDF5 Reference Manual shortly after HDF5 Release 1.8.10.

Changed Command-line Tool
* h5import has been updated to accept an input file created by h5dump.
2012-12-09 00:07:38 +00:00

18 lines
507 B
Bash

$NetBSD: patch-tools_h5jam_testh5jam.sh.in,v 1.2 2012/12/09 00:07:39 adam Exp $
Use portable "=" to test string equality.
--- tools/h5jam/testh5jam.sh.in.orig 2012-05-09 15:06:08.000000000 +0000
+++ tools/h5jam/testh5jam.sh.in
@@ -464,9 +464,9 @@ UNJAMTEST () {
#
TOOLTEST_OUTPUT() {
- if [ "$1" == "JAM" ]; then
+ if [ "$1" = "JAM" ]; then
TOOLCMD=$JAM_BIN/$JAM
- elif [ "$1" == "UNJAM" ]; then
+ elif [ "$1" = "UNJAM" ]; then
TOOLCMD=$JAM_BIN/$UNJAM
fi
shift