diff options
author | David Young <dyoung@hdfgroup.org> | 2019-12-19 23:24:52 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-12-19 23:24:52 (GMT) |
commit | b55a584fd5b3aac6f2514fba41a6182030b497ae (patch) | |
tree | 065c2f57d3cabd16be66665403764af06f5abdce /bin | |
parent | 63fdb7868593639dd7e06dcff85980ed4b29a8c1 (diff) | |
parent | ec4418a75716b7f2ce53e627de28d139b281b545 (diff) | |
download | hdf5-b55a584fd5b3aac6f2514fba41a6182030b497ae.zip hdf5-b55a584fd5b3aac6f2514fba41a6182030b497ae.tar.gz hdf5-b55a584fd5b3aac6f2514fba41a6182030b497ae.tar.bz2 |
Merge pull request #2161 in HDFFV/hdf5 from ~DYOUNG/netbsd:develop to develop
* commit 'ec4418a75716b7f2ce53e627de28d139b281b545':
In portable shell scripts (using #!/bin/sh) we have to use single square brackets, [ ], instead of the bash-ism double square brackets, [[ ]].
Make this script work on hosts where PERL is not installed at /usr/bin/perl.
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/warnhist | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/warnhist b/bin/warnhist index 7e56246..a8dcd97 100755 --- a/bin/warnhist +++ b/bin/warnhist @@ -1,5 +1,6 @@ -#!/usr/bin/perl -w +#!/usr/bin/env perl require 5.003; +use warnings; # # Copyright by The HDF Group. |