Skip to content

Commit

Permalink
Use portable /usr/bin/env/{perl,python} instead of /usr/bin/{perl,pyt…
Browse files Browse the repository at this point in the history
…hon}
  • Loading branch information
lbartoletti committed Aug 7, 2017
1 parent 5a64f58 commit 6b67a72
Show file tree
Hide file tree
Showing 24 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions cmake_templates/Doxyfile.in
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion ms-windows/osgeo4w/creatensis.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
# creates a NSIS installer from OSGeo4W packages
# note: works also on Unix

Expand Down
2 changes: 1 addition & 1 deletion scripts/2to3
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
import sys, os

from lib2to3.main import main
Expand Down
2 changes: 1 addition & 1 deletion scripts/addfix.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;

Expand Down
2 changes: 1 addition & 1 deletion scripts/context_help_id.py
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
/***************************************************************************
context_help_id.py
Expand Down
2 changes: 1 addition & 1 deletion scripts/doxygen_space.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl -0 -i.sortinc -n
#!/usr/bin/env perl -0 -i.sortinc -n
###########################################################################
# doxygen_space.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/fixdiff.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# fixdiff.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/integrate_function_help.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion scripts/listpulls.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion scripts/processing2cpp.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# processing2cpp.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/qgm2cpp.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# qgm2cpp.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/qgsloggermig.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# qgsloggermig.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/redirects.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl -i.bak -p
#!/usr/bin/env perl -i.bak -p

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

Expand Down
2 changes: 1 addition & 1 deletion scripts/release.pl
@@ -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>
Expand Down
2 changes: 1 addition & 1 deletion scripts/replace-console-i18n.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion scripts/scandeps.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# scandeps.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/sipify.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
use strict;
use warnings;
use File::Basename;
Expand Down
2 changes: 1 addition & 1 deletion scripts/symbol_xml2db.py
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
/***************************************************************************
symbol_xml2db.py
Expand Down
2 changes: 1 addition & 1 deletion scripts/ts2cpp.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# ts2cpp.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/tsstat.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
###########################################################################
# tsstat.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/unify_includes.pl
@@ -1,4 +1,4 @@
#!/usr/bin/perl -i.sortinc -n
#!/usr/bin/env perl -i.sortinc -n
###########################################################################
# unify_includes.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-news.pl
@@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/app/dwg/libdxfrw/libdxfrw.dox
Expand Up @@ -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
#---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/plugin_builder.py
@@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
"""
***************************************************************************
plugin_builder.py
Expand Down

0 comments on commit 6b67a72

Please sign in to comment.