[gtk+] gdk/broadway/toarray.pl: Don't hard-code the path of perl
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gdk/broadway/toarray.pl: Don't hard-code the path of perl
- Date: Mon, 25 Dec 2017 04:27:17 +0000 (UTC)
commit 5f8e2fcf935dafd72023a72967b30dc6765541aa
Author: Ting-Wei Lan <lantw src gnome org>
Date: Mon Dec 25 00:24:04 2017 +0800
gdk/broadway/toarray.pl: Don't hard-code the path of perl
https://bugzilla.gnome.org/show_bug.cgi?id=791927
gdk/broadway/toarray.pl | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gdk/broadway/toarray.pl b/gdk/broadway/toarray.pl
index ac8b5ff..642ea8a 100755
--- a/gdk/broadway/toarray.pl
+++ b/gdk/broadway/toarray.pl
@@ -1,4 +1,6 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
+
+use warnings;
my $ARRAYNAME = $ARGV[0];
my $first = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]