From: Matthias Clasen Date: Tue, 8 Feb 2011 04:27:19 +0000 (-0500) Subject: Don't use -w in shebang line X-Git-Tag: 2.28.0~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=25ab13fd3c834a022175a5c8a6cc85fbb090968a;p=platform%2Fupstream%2Fglib.git 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 --- 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;