Standardize shebangs

stable-3.1
Loïc Bartoletti 2020-01-23 10:56:04 +01:00 committed by lbartoletti
parent 50796cc1ae
commit 94f3847dbb
37 changed files with 45 additions and 38 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Run astyle on the code base ready for release

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
#bessie is a 32-bit Rasberry Pi managed by Bruce Rindahl
## BRANCH is passed in via jenkins which is set via gitea web hook
#export BRANCH=618a67b1d6fc223dd5a4c0b02c824939f21dbd65

View File

@ -317,7 +317,7 @@ function test_logbt() {
# We use bash to avoid needing an external dep on some runtime
# Due to https://github.com/mapbox/logbt/issues/29 we need to copy the bash
# exe on OS X to a new location since coredumps are disabled for /bin/bash for
# exe on OS X to a new location since coredumps are disabled for /usr/bin/env bash for
# reasons I don't understand
if [[ ${PLATFORM_UNAME} == "Darwin" ]]; then
# first touch file to create it with writable permissions for this user

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
## begin variables passed in by jenkins

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
## begin variables passed in by jenkins

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
## begin variables passed in by jenkins

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export PG_VER=9.6
# export PGPORT=8442
export OS_BUILD=64

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Exit on first error
set -e

View File

@ -317,7 +317,7 @@ function test_logbt() {
# We use bash to avoid needing an external dep on some runtime
# Due to https://github.com/mapbox/logbt/issues/29 we need to copy the bash
# exe on OS X to a new location since coredumps are disabled for /bin/bash for
# exe on OS X to a new location since coredumps are disabled for /usr/bin/env bash for
# reasons I don't understand
if [[ ${PLATFORM_UNAME} == "Darwin" ]]; then
# first touch file to create it with writable permissions for this user

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
if [[ "${OVERRIDE}" == '' ]] ; then
export GEOS_VER=3.8.0

View File

@ -14,7 +14,7 @@
#export GCC_TYPE=
#if no override is set - use these values
#otherwise use the ones jenkins passes thru
#!/bin/bash
#!/usr/bin/env bash
if [[ "${OVERRIDE}" == '' ]] ; then
export GEOS_VER=3.8.0
export GDAL_VER=2.4.3

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
if [[ "${OVERRIDE}" == '' ]] ; then
export GEOS_VER=3.8.0

View File

@ -1070,7 +1070,7 @@ EXTERNAL_GROUPS = YES
# The PERL_PATH should be the absolute path and name of the perl script
# interpreter (i.e. the result of `which perl').
PERL_PATH = /usr/bin/perl
PERL_PATH = /usr/bin/env perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool

View File

@ -1,6 +1,6 @@
#! /usr/bin/perl
#!/usr/bin/perl -w
#!/usr/bin/env perl
use strict;
use warnings;
use Regexp::Assemble;
my @cities = split(/[\r\n]+/, qx(cat usps-st-city-name.txt));

View File

@ -1,5 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
use strict;
use warnings;
sub Usage {
print "Usage: mk-sql.pl pgver file-in.sql\n";

View File

@ -1,5 +1,6 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
use strict;
use warnings;
use Regexp::Assemble;
# TODO

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
PGPORT=5432
PGHOST=localhost
PGUSER=postgres

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
shopt -s nullglob

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export PGPORT=5432
export PGHOST=localhost
export PGUSER=postgres

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e

View File

@ -1070,7 +1070,7 @@ EXTERNAL_GROUPS = YES
# The PERL_PATH should be the absolute path and name of the perl script
# interpreter (i.e. the result of `which 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
#
# PostGIS - Spatial Types for PostgreSQL

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# PostGIS - Spatial Types for PostgreSQL

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# PostGIS - Spatial Types for PostgreSQL

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# PostGIS - Spatial Types for PostgreSQL

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# PostGIS - Spatial Types for PostgreSQL

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# PostGIS - Spatial Types for PostgreSQL

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
#
# PostGIS - Spatial Types for PostgreSQL

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# TODO:
@ -7,6 +7,7 @@
# eg. 1-3 or 1-32/5
#
use warnings;
use Pg;
use Time::HiRes("gettimeofday");

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
my $debug = 0;

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl
#!/usr/bin/env perl
$ENV{"LC_ALL"} = "C";

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# TODO:
@ -7,6 +7,7 @@
# eg. 1-3 or 1-32/5
#
use warnings;
use Pg;
$VERBOSE = 0;

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# TODO:
@ -7,6 +7,7 @@
# eg. 1-3 or 1-32/5
#
use warnings;
use Pg;
$VERBOSE = 0;

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# TODO:
@ -6,6 +6,7 @@
# Apply oid filters on table2
#
use warnings;
use Pg;
$VERBOSE = 0;

View File

@ -1,4 +1,4 @@
#!/usr/bin/perl -w
#!/usr/bin/env perl
#
# TODO:
@ -6,6 +6,7 @@
# Apply oid filters on table2
#
use warnings;
use Pg;
$VERBOSE = 0;

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# this script will change it's current working directory to utils
DB=postgis_uninstall