[gucharmap] gen-guch-unicode-tables.pl: Don't hardcode the path of perl
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gucharmap] gen-guch-unicode-tables.pl: Don't hardcode the path of perl
- Date: Tue, 26 Apr 2016 18:21:13 +0000 (UTC)
commit 218b4587c9ca47c2c90ffee57a9b2eacfb66382f
Author: Ting-Wei Lan <lantw src gnome org>
Date: Mon Apr 25 03:52:45 2016 +0800
gen-guch-unicode-tables.pl: Don't hardcode the path of perl
https://bugzilla.gnome.org/show_bug.cgi?id=765631
gucharmap/gen-guch-unicode-tables.pl | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gucharmap/gen-guch-unicode-tables.pl b/gucharmap/gen-guch-unicode-tables.pl
index 84d7042..fa1917d 100755
--- a/gucharmap/gen-guch-unicode-tables.pl
+++ b/gucharmap/gen-guch-unicode-tables.pl
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
#
# $Id$
#
@@ -17,6 +17,7 @@
# NOTE! Some code copied from glib/glib/gen-unicode-tables.pl; keep in sync!
use strict;
+use warnings;
use Env qw($PROG_UNZIP);
$PROG_UNZIP = "unzip" unless (defined $PROG_UNZIP);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]