forked from postgis/postgis
Standardize shebangs
parent
50796cc1ae
commit
94f3847dbb
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Run astyle on the code base ready for release
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
## begin variables passed in by jenkins
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
## begin variables passed in by jenkins
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
## begin variables passed in by jenkins
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
export PG_VER=9.6
|
||||
# export PGPORT=8442
|
||||
export OS_BUILD=64
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Exit on first error
|
||||
set -e
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
if [[ "${OVERRIDE}" == '' ]] ; then
|
||||
export GEOS_VER=3.8.0
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
if [[ "${OVERRIDE}" == '' ]] ; then
|
||||
export GEOS_VER=3.8.0
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/perl -w
|
||||
#!/usr/bin/env perl
|
||||
use strict;
|
||||
use warnings;
|
||||
use Regexp::Assemble;
|
||||
|
||||
# TODO
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
PGPORT=5432
|
||||
PGHOST=localhost
|
||||
PGUSER=postgres
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
shopt -s nullglob
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
export PGPORT=5432
|
||||
export PGHOST=localhost
|
||||
export PGUSER=postgres
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
#
|
||||
# PostGIS - Spatial Types for PostgreSQL
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
#
|
||||
# PostGIS - Spatial Types for PostgreSQL
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
#
|
||||
# PostGIS - Spatial Types for PostgreSQL
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
#
|
||||
# PostGIS - Spatial Types for PostgreSQL
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
#
|
||||
# PostGIS - Spatial Types for PostgreSQL
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/perl -w
|
||||
#!/usr/bin/env perl
|
||||
|
||||
#
|
||||
# PostGIS - Spatial Types for PostgreSQL
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
#
|
||||
# PostGIS - Spatial Types for PostgreSQL
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
my $debug = 0;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/perl
|
||||
#!/usr/bin/env perl
|
||||
|
||||
$ENV{"LC_ALL"} = "C";
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# this script will change it's current working directory to utils
|
||||
|
||||
DB=postgis_uninstall
|
||||
|
|
Loading…
Reference in New Issue