summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 19:04:26 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:21 (GMT)
commit5ad9d9277e7476a93372d5e05da6917b93204d2a (patch)
tree6858ec57294a4d43829ef17893fa976adc753164
parente3f12a5a2286c70699a7c160e46214ab2612f51d (diff)
downloadhdf5-5ad9d9277e7476a93372d5e05da6917b93204d2a.zip
hdf5-5ad9d9277e7476a93372d5e05da6917b93204d2a.tar.gz
hdf5-5ad9d9277e7476a93372d5e05da6917b93204d2a.tar.bz2
Make this script work on hosts where PERL is not installed at
/usr/bin/perl.
-rwxr-xr-xbin/warnhist3
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.