[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdesdk/scripts
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2006-01-17 8:12:50
Message-ID: 1137485570.991328.4650.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 499175 by goutte:

Increase portability by declaring using Bash and Perl by the help
of /bin/usr/env
(Note: Perl scripts declared with -p cannot be converted so easily,
as "use warnings;" is not available for early Perl 5 versions.)


 M  +1 -1      colorcvs  
 M  +1 -1      colorsvn  
 M  +1 -1      cvs-clean  
 M  +1 -1      cvs2dist  
 M  +1 -1      cvsblame  
 M  +1 -1      cvscheck  
 M  +1 -1      cvslastchange  
 M  +1 -1      extend_dmalloc  
 M  +1 -1      extractattr  
 M  +1 -1      extractrc  
 M  +1 -1      fixheaders  
 M  +1 -1      includemocs  
 M  +1 -1      kde-spellcheck.pl  
 M  +1 -1      makeobj  
 M  +1 -1      noncvslist  
 M  +1 -1      rc2kcfgxt.pl  
 M  +1 -1      svn-clean  
 M  +1 -1      svn2dist  


--- branches/KDE/3.5/kdesdk/scripts/colorcvs #499174:499175
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 # colorcvs
 #
--- branches/KDE/3.5/kdesdk/scripts/colorsvn #499174:499175
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 # colorsvn
 #
--- branches/KDE/3.5/kdesdk/scripts/cvs-clean #499174:499175
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 #
 # This script recursively (beginning with the current directory)
--- branches/KDE/3.5/kdesdk/scripts/cvs2dist #499174:499175
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/usr/env bash
 
 # This is cvs2dist
 # Webpage: http://www.katzbrown.com/shiritsu/programming/cvs2dist/
--- branches/KDE/3.5/kdesdk/scripts/cvsblame #499174:499175
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#! /usr/bin/env perl
 
 # cvs blame inspired by Bonsai
 # Author: Bernd Gehrmann <bernd@physik.hu-berlin.de>
--- branches/KDE/3.5/kdesdk/scripts/cvscheck #499174:499175
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#! /usr/bin/env perl
 
 use POSIX qw(mktime ctime);
 use Time::Local qw( timegm );
--- branches/KDE/3.5/kdesdk/scripts/cvslastchange #499174:499175
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#! /usr/bin/env perl
 
 use File::Basename;
 
--- branches/KDE/3.5/kdesdk/scripts/extend_dmalloc #499174:499175
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#! /usr/bin/env perl
 #
 # script to run gdb on return-addresses
 # Usage: $0 malloc-log-file binary
--- branches/KDE/3.5/kdesdk/scripts/extractattr #499174:499175
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 #
 # Copyright (c) 2004 Richard Evans <rich@ridas.com>
--- branches/KDE/3.5/kdesdk/scripts/extractrc #499174:499175
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 ### TODO: other copyrights, license?
 # Copyright (c) 2004 Richard Evans <rich@ridas.com>
--- branches/KDE/3.5/kdesdk/scripts/fixheaders #499174:499175
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#! /usr/bin/env perl
 
 # this script is written by Stephan Kulow <coolo@kde.org> with
 # much help from Sirtaj Singh Kang <ssk@physics.unimelb.edu.au>
--- branches/KDE/3.5/kdesdk/scripts/includemocs #499174:499175
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#! /usr/bin/env perl
 
 use strict;
 use Cwd;
--- branches/KDE/3.5/kdesdk/scripts/kde-spellcheck.pl #499174:499175
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#! /usr/bin/env perl
 
 # CORRECTIONS GO IN THE __DATA__ SECTION AT THE END OF THIS SCRIPT
 
--- branches/KDE/3.5/kdesdk/scripts/makeobj #499174:499175
@@ -1,4 +1,4 @@
-#!/bin/bash
+#! /bin/usr/env bash
 
 # this is a script around make which basicly checks
 # if it's in srcdir or in builddir and changes to 
--- branches/KDE/3.5/kdesdk/scripts/noncvslist #499174:499175
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#! /usr/bin/env perl
 
 # Offline check for extra in a checked-out
 # CVS module. Sirtaj Singh Kang <taj@kde.org> May 2000.
--- branches/KDE/3.5/kdesdk/scripts/rc2kcfgxt.pl #499174:499175
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 #
 # rc2kcfgxt.pl version 4 by Adriaan de Groot
 #
--- branches/KDE/3.5/kdesdk/scripts/svn-clean #499174:499175
@@ -1,4 +1,4 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
 
 #
 # This script recursively (beginning with the current directory)
--- branches/KDE/3.5/kdesdk/scripts/svn2dist #499174:499175
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/usr/env bash
 
 # This is svn2dist
 # Based on cvs2dist by <jason@katzbrown.com>.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic