Skip to content

Commit 6b67a72

Browse files
committed
Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,python}
1 parent 5a64f58 commit 6b67a72

24 files changed

+25
-25
lines changed

cmake_templates/Doxyfile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -2126,9 +2126,9 @@ EXTERNAL_PAGES = YES
21262126

21272127
# The PERL_PATH should be the absolute path and name of the perl script
21282128
# interpreter (i.e. the result of 'which perl').
2129-
# The default file (with absolute path) is: /usr/bin/perl.
2129+
# The default file (with absolute path) is: /usr/bin/env perl.
21302130

2131-
PERL_PATH = /usr/bin/perl
2131+
PERL_PATH = /usr/bin/env perl
21322132

21332133
#---------------------------------------------------------------------------
21342134
# Configuration options related to the dot tool

ms-windows/osgeo4w/creatensis.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
# creates a NSIS installer from OSGeo4W packages
33
# note: works also on Unix
44

scripts/2to3

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
import sys, os
33

44
from lib2to3.main import main

scripts/addfix.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use warnings;
44

scripts/context_help_id.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
"""
33
/***************************************************************************
44
context_help_id.py

scripts/doxygen_space.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -0 -i.sortinc -n
1+
#!/usr/bin/env perl -0 -i.sortinc -n
22
###########################################################################
33
# doxygen_space.pl
44
# ---------------------

scripts/fixdiff.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
###########################################################################
33
# fixdiff.pl
44
# ---------------------

scripts/integrate_function_help.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22

33
use strict;
44
use warnings;

scripts/listpulls.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22

33
use strict;
44
use warnings;

scripts/processing2cpp.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
###########################################################################
33
# processing2cpp.pl
44
# ---------------------

scripts/qgm2cpp.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
###########################################################################
33
# qgm2cpp.pl
44
# ---------------------

scripts/qgsloggermig.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
###########################################################################
33
# qgsloggermig.pl
44
# ---------------------

scripts/redirects.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -i.bak -p
1+
#!/usr/bin/env perl -i.bak -p
22

33
s%www.qgis.org%qgis.org%g;
44

scripts/release.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
# creates a new release
33

44
# Copyright (C) 2014 Jürgen E. Fischer <jef@norbit.de>

scripts/replace-console-i18n.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22

33
use strict;
44
use warnings;

scripts/scandeps.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
###########################################################################
33
# scandeps.pl
44
# ---------------------

scripts/sipify.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
use strict;
33
use warnings;
44
use File::Basename;

scripts/symbol_xml2db.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
"""
33
/***************************************************************************
44
symbol_xml2db.py

scripts/ts2cpp.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
###########################################################################
33
# ts2cpp.pl
44
# ---------------------

scripts/tsstat.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
###########################################################################
33
# tsstat.pl
44
# ---------------------

scripts/unify_includes.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl -i.sortinc -n
1+
#!/usr/bin/env perl -i.sortinc -n
22
###########################################################################
33
# unify_includes.pl
44
# ---------------------

scripts/update-news.pl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/perl
1+
#!/usr/bin/env perl
22
# updates the news file from changelog.qgis.org
33

44
# Copyright (C) 2016 Jürgen E. Fischer <jef@norbit.de>

src/app/dwg/libdxfrw/libdxfrw.dox

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ TAGFILES =
251251
GENERATE_TAGFILE =
252252
ALLEXTERNALS = NO
253253
EXTERNAL_GROUPS = YES
254-
PERL_PATH = /usr/bin/perl
254+
PERL_PATH = /usr/bin/env perl
255255
#---------------------------------------------------------------------------
256256
# Configuration options related to the dot tool
257257
#---------------------------------------------------------------------------

src/plugins/plugin_builder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/python
1+
#!/usr/bin/env python
22
"""
33
***************************************************************************
44
plugin_builder.py

0 commit comments

Comments
 (0)