[glib] Don't use -w in shebang line
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Don't use -w in shebang line
- Date: Tue, 8 Feb 2011 04:28:09 +0000 (UTC)
commit 25ab13fd3c834a022175a5c8a6cc85fbb090968a
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Feb 7 23:27:19 2011 -0500
Don't use -w in shebang line
This can cause warnings when PERL_PATH gets expanded to /usr/bin/env.
Patch by Adam Sampson, https://bugzilla.gnome.org/show_bug.cgi?id=641477
gobject/glib-mkenums.in | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gobject/glib-mkenums.in b/gobject/glib-mkenums.in
index a3cf558..445b422 100755
--- a/gobject/glib-mkenums.in
+++ b/gobject/glib-mkenums.in
@@ -1,5 +1,6 @@
-#! PERL_PATH@ -w
+#! PERL_PATH@
+user warnings;
use File::Basename;
use Safe;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]