Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}

This commit is contained in:
lbartoletti 2017-08-07 19:54:52 +02:00
parent 5a64f586a6
commit 6b67a720da
24 changed files with 25 additions and 25 deletions

View File

@ -2126,9 +2126,9 @@ EXTERNAL_PAGES = YES
# The PERL_PATH should be the absolute path and name of the perl script
# interpreter (i.e. the result of 'which perl').
# The default file (with absolute path) is: /usr/bin/perl.
# The default file (with absolute path) is: /usr/bin/env perl.
PERL_PATH = /usr/bin/perl
PERL_PATH = /usr/bin/env perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# creates a NSIS installer from OSGeo4W packages
# note: works also on Unix

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
import sys, os
from lib2to3.main import main

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
/***************************************************************************
context_help_id.py

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -0 -i.sortinc -n
#!/usr/bin/env perl -0 -i.sortinc -n
###########################################################################
# doxygen_space.pl
# ---------------------

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# fixdiff.pl
# ---------------------

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# processing2cpp.pl
# ---------------------

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# qgm2cpp.pl
# ---------------------

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# qgsloggermig.pl
# ---------------------

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -i.bak -p
#!/usr/bin/env perl -i.bak -p
s%www.qgis.org%qgis.org%g;

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# creates a new release
# Copyright (C) 2014 Jürgen E. Fischer <jef@norbit.de>

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# scandeps.pl
# ---------------------

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use File::Basename;

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
/***************************************************************************
symbol_xml2db.py

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# ts2cpp.pl
# ---------------------

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# tsstat.pl
# ---------------------

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -i.sortinc -n
#!/usr/bin/env perl -i.sortinc -n
###########################################################################
# unify_includes.pl
# ---------------------

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# updates the news file from changelog.qgis.org
# Copyright (C) 2016 Jürgen E. Fischer <jef@norbit.de>

View File

@ -251,7 +251,7 @@ TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
PERL_PATH = /usr/bin/env perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
***************************************************************************
plugin_builder.py