[Darshan-commits] [Git][darshan/darshan][master] fix perl scripts to get perl bin from env
Shane Snyder
xgitlab at cels.anl.gov
Wed May 4 13:22:33 CDT 2016
Shane Snyder pushed to branch master at darshan / darshan
Commits:
a3b2cfb9 by Shane Snyder at 2016-05-04T13:22:27-05:00
fix perl scripts to get perl bin from env
- - - - -
2 changed files:
- darshan-util/darshan-convert-logs.pl
- darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
Changes:
=====================================
darshan-util/darshan-convert-logs.pl
=====================================
--- a/darshan-util/darshan-convert-logs.pl
+++ b/darshan-util/darshan-convert-logs.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
#
# Copyright (C) 2015 University of Chicago.
@@ -19,6 +19,8 @@
# jobid2 key1=val1 key2=val2
#
+use warnings;
+
my $darshan_convert = "./darshan-convert";
my $jenkins_hash_gen = "./jenkins-hash-gen";
=====================================
darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
=====================================
--- a/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
+++ b/darshan-util/darshan-job-summary/bin/darshan-job-summary.pl.in
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
#
# (C) 2015 by Argonne National Laboratory.
# See COPYRIGHT in top-level directory.
@@ -7,6 +7,7 @@
# Set via configure
my $PREFIX="@prefix@";
+use warnings;
use lib "@prefix@/lib";
use TeX::Encode;
use Encode;
View it on GitLab: https://xgitlab.cels.anl.gov/darshan/darshan/commit/a3b2cfb9aaa057df2487149025b2a0fd0b67d9a1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/darshan-commits/attachments/20160504/06ac6351/attachment.html>
More information about the Darshan-commits
mailing list