summaryrefslogtreecommitdiffstats
path: root/bin/warnhist
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 19:04:26 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-12-19 23:26:34 (GMT)
commitd841be3ef3f6b2feab405c567cee6358ad9279b2 (patch)
treef9f11cc9146b61d782f4285a327a99dacb2c6f53 /bin/warnhist
parent0f988be68390562da6af5fdce06cb74cf0d01d30 (diff)
downloadhdf5-d841be3ef3f6b2feab405c567cee6358ad9279b2.zip
hdf5-d841be3ef3f6b2feab405c567cee6358ad9279b2.tar.gz
hdf5-d841be3ef3f6b2feab405c567cee6358ad9279b2.tar.bz2
Make this script work on hosts where PERL is not installed at
/usr/bin/perl.
Diffstat (limited to 'bin/warnhist')
-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.