Skip to content

Commit

Permalink
Revert "[needs-qa]Usr bin env"
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 30, 2018
1 parent e5ab743 commit f37c2bf
Show file tree
Hide file tree
Showing 67 changed files with 83 additions and 83 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/env perl.
# The default file (with absolute path) is: /usr/bin/perl.

PERL_PATH = /usr/bin/env perl
PERL_PATH = /usr/bin/perl

#---------------------------------------------------------------------------
# Configuration options related to the dot tool
Expand Down
2 changes: 1 addition & 1 deletion external/libdxfrw/libdxfrw.dox
Expand Up @@ -251,7 +251,7 @@ TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/env perl
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion ms-windows/cygwin/package.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# package.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion ms-windows/osgeo4w/creatensis.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl
# creates a NSIS installer from OSGeo4W packages
# note: works also on Unix

Expand Down
2 changes: 1 addition & 1 deletion ms-windows/quickpackage.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# quickpackage.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion rpm/buildrpms.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# buildrpms.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/2to3
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python
import sys, os

from lib2to3.main import main
Expand Down
30 changes: 15 additions & 15 deletions scripts/addcopyright.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# addcopyright.sh
# ---------------------
Expand Down Expand Up @@ -333,20 +333,20 @@ EOF

*.bat|*.cmd)
cat - $src >$dst <<EOF
REM ***************************************************************************
REM $basename
REM ---------------------
REM begin : $authordate
REM copyright : (C) $authoryear by $authorname
REM email : $authoremail
REM ***************************************************************************
REM * *
REM * This program is free software; you can redistribute it and/or modify *
REM * it under the terms of the GNU General Public License as published by *
REM * the Free Software Foundation; either version 2 of the License, or *
REM * (at your option) any later version. *
REM * *
REM ***************************************************************************
REM ***************************************************************************
REM $basename
REM ---------------------
REM begin : $authordate
REM copyright : (C) $authoryear by $authorname
REM email : $authoremail
REM ***************************************************************************
REM * *
REM * This program is free software; you can redistribute it and/or modify *
REM * it under the terms of the GNU General Public License as published by *
REM * the Free Software Foundation; either version 2 of the License, or *
REM * (at your option) any later version. *
REM * *
REM ***************************************************************************
EOF
;;

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

Expand Down
2 changes: 1 addition & 1 deletion scripts/astyle-all.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# astyle-all.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/astyle-rollback.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# astyle-rollback.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/astyle.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# astyle.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/build_debian_package.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# build_debian_package.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/chkcopyrights.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# chkcopyrights.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/chkdoclink.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# chkdoclink.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/chkspelling.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# chkspelling.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/chstroke.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# chstroke.sh
# ---------------------
Expand Down
4 changes: 2 additions & 2 deletions scripts/context_help_id.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python
"""
/***************************************************************************
context_help_id.py
Expand Down Expand Up @@ -40,7 +40,7 @@
hash.update(sys.argv[1])
# generate the context id by converting the first 12 characters of the hash
# to decimal
context_id = int(hash.hexdigest()[:12], 16)
context_id = int(hash.hexdigest()[:12],16)
# print the result
print context_id
else:
Expand Down
2 changes: 1 addition & 1 deletion scripts/create-transifex-resources.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# create-transifex-resources.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/customwidget_create.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash

# This script automatically creates custom widget plugin for a given widget class name.
# Use customwidget_create.sh QgsColorButton to create QgsColorButtonPlugin files.
Expand Down
2 changes: 1 addition & 1 deletion scripts/dbdiff.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash

if [ "$1" = "-h" ]; then
echo "usage: $0 [-h] [database] [sha1] [sha2]"
Expand Down
2 changes: 1 addition & 1 deletion scripts/doxygen_space.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl -0 -i.sortinc -n
#!/usr/bin/perl
###########################################################################
# doxygen_space.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/fixdiff.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl
###########################################################################
# fixdiff.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/integrate_function_help.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion scripts/jenkins-run.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash

if [ -d build ]
then
Expand Down
2 changes: 1 addition & 1 deletion scripts/listpulls.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl

use strict;
use warnings;
Expand Down
2 changes: 1 addition & 1 deletion scripts/make-tarball.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# make-tarball.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/make_gource_video.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# make_gource_video.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/processing2cpp.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl
###########################################################################
# processing2cpp.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/pull_ts.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# pull_ts.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/push_ts.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# push_ts.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/qgm2cpp.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl
###########################################################################
# qgm2cpp.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/qgsloggermig.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl
###########################################################################
# qgsloggermig.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/random_vector.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python

# Generates random shapefile which may be used for benchmarks

Expand Down
2 changes: 1 addition & 1 deletion scripts/redirects.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl -i.bak -p
#!/usr/bin/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/env perl
#!/usr/bin/perl
# creates a new release

# Copyright (C) 2014 Jürgen E. Fischer <jef@norbit.de>
Expand Down
2 changes: 1 addition & 1 deletion scripts/remove_non_svn_files.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# remove_non_svn_files.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/remove_temporary_files.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# remove_git_confict_files.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/rename_class.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash

#

Expand Down
2 changes: 1 addition & 1 deletion scripts/replace-console-i18n.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl

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

set -e

Expand Down
2 changes: 1 addition & 1 deletion scripts/scandeps.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl
###########################################################################
# scandeps.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/sipify.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl
use strict;
use warnings;
use File::Basename;
Expand Down
2 changes: 1 addition & 1 deletion scripts/sort_include.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# sort_include.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/spell_check/spell_test.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
set -e


Expand Down
2 changes: 1 addition & 1 deletion scripts/symbol_xml2db.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python
"""
/***************************************************************************
symbol_xml2db.py
Expand Down
2 changes: 1 addition & 1 deletion scripts/ts2cpp.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl
###########################################################################
# ts2cpp.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/tsstat.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/perl
###########################################################################
# tsstat.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/unify_includes.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl -i.sortinc -n
#!/usr/bin/perl -i.sortinc -n
###########################################################################
# unify_includes.pl
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-indent.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# update-indent.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/update-news.pl
@@ -1,4 +1,4 @@
#!/usr/bin/env perl
#!/usr/bin/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 scripts/update_ts.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# update_ts.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_ts_files.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
###########################################################################
# update_ts_files.sh
# ---------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/verify-indentation.sh
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
cd $(git rev-parse --show-toplevel)

export PATH=$PATH:$PWD/scripts
Expand Down
2 changes: 1 addition & 1 deletion scripts/widgets_tree.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/grass/modules/resize_grass
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
#!/bin/bash
# Use a simple shell loop, to process each of the images.
mkdir thumbnails
# for $a in *.png
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/grass/qgis_grass_test.py
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# -----------------------------------------------------------
#
Expand Down

0 comments on commit f37c2bf

Please sign in to comment.