[otrs-cvs] otrs/scripts/tools sync-ldap2db.pl, 1.14, 1.15 base64.pl, 1.8, 1.9 compress-mail.pl, 1.18, 1.19 charset-convert.pl, 1.12, 1.13 xml2html.pl, 1.21, 1.22
"CVS commits notifications of OTRS.org" <[email protected]>
| Newsgroups | gmane.comp.otrs.cvs |
|---|---|
| Message-ID | <[email protected]> |
Comments:
Update of /home/cvs/otrs/scripts/tools
In directory lancelot:/tmp/cvs-serv17753/scripts/tools
Modified Files:
sync-ldap2db.pl base64.pl compress-mail.pl charset-convert.pl
xml2html.pl
Log Message:
Removed -w flag from shebang line. It also triggers warnings from external modules which do not support "use warnings" yet. In OTRS we use this pragma everywhere.
>From perlrun: "This switch really just enables the global $^W variable; normally, the lexically scoped use warnings pragma is preferred."
Author: mg
Index: sync-ldap2db.pl
===================================================================
RCS file: /home/cvs/otrs/scripts/tools/sync-ldap2db.pl,v
retrieving revision 1.14
retrieving revision 1.15
diff -2 -u -d -r1.14 -r1.15
--- sync-ldap2db.pl 20 Nov 2012 16:13:26 -0000 1.14
+++ sync-ldap2db.pl 22 Jan 2013 10:14:09 -0000 1.15
@@ -1,6 +1,6 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# --
# scripts/tools/sync-ldap2db.pl - sync a ldap directory to database
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
Author: mg
Index: base64.pl
===================================================================
RCS file: /home/cvs/otrs/scripts/tools/base64.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -2 -u -d -r1.8 -r1.9
--- base64.pl 20 Nov 2012 16:13:22 -0000 1.8
+++ base64.pl 22 Jan 2013 10:14:09 -0000 1.9
@@ -1,6 +1,6 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# --
# scripts/tools/base64.pl - mime base 64 encode/decode
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
Author: mg
Index: compress-mail.pl
===================================================================
RCS file: /home/cvs/otrs/scripts/tools/compress-mail.pl,v
retrieving revision 1.18
retrieving revision 1.19
diff -2 -u -d -r1.18 -r1.19
--- compress-mail.pl 20 Nov 2012 16:13:24 -0000 1.18
+++ compress-mail.pl 22 Jan 2013 10:14:09 -0000 1.19
@@ -1,6 +1,6 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# --
# scripts/tools/compress-mail.pl - compress email, zip attachments
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
Author: mg
Index: charset-convert.pl
===================================================================
RCS file: /home/cvs/otrs/scripts/tools/charset-convert.pl,v
retrieving revision 1.12
retrieving revision 1.13
diff -2 -u -d -r1.12 -r1.13
--- charset-convert.pl 20 Nov 2012 16:13:23 -0000 1.12
+++ charset-convert.pl 22 Jan 2013 10:14:09 -0000 1.13
@@ -1,6 +1,6 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# --
# scripts/tools/charset-convert.pl - converts a text file from one to an other one charset
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
@@ -37,5 +37,5 @@
if ( $Opts{h} ) {
print "charset-convert.pl <Revision $VERSION> - convert a charset of a file\n";
- print "Copyright (C) 2001-2012 OTRS AG, http://otrs.org/\n";
+ print "Copyright (C) 2001-2013 OTRS AG, http://otrs.org/\n";
print "usage: charset-convert.pl -s <SOURCE_CHARSET> -d <DEST_CHARSET> -f <FILE>\n";
print " charset-convert.pl -s <SOURCE_CHARSET> -d <DEST_CHARSET> < file\n";
Author: mg
Index: xml2html.pl
===================================================================
RCS file: /home/cvs/otrs/scripts/tools/xml2html.pl,v
retrieving revision 1.21
retrieving revision 1.22
diff -2 -u -d -r1.21 -r1.22
--- xml2html.pl 20 Nov 2012 16:13:28 -0000 1.21
+++ xml2html.pl 22 Jan 2013 10:14:09 -0000 1.22
@@ -1,6 +1,6 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl
# --
# xml2html.pl - a "_simple_" xml2html viewer
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
# --
# $Id$
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log