Enhance bash shebangs

This commit is contained in:
jo 2021-08-16 14:21:46 +02:00
parent 8b3e09d41c
commit b5f302ac61
24 changed files with 24 additions and 24 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# Set up 3 way PO file merging, which we need for non-mainline branches
cp scripts/git-merge-po /usr/local/bin

View file

@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash -e
apt-get install -y --force-yes lsb-release sudo
dist=$(lsb_release -is)
code=$(lsb_release -cs)

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
exec 2>&1

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# the base url of the bamboo server
baseurl="$1/updateAndBuild.action?buildKey="

View file

@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash -e
# Absolute path to this script
SCRIPT=$(readlink -f $0)
# Absolute directory this script is in

View file

@ -1,4 +1,4 @@
#!/bin/bash -e
#!/usr/bin/env bash -e
#release.sh 1.8.2
#creates a libretime folder with a "1.8.2" suffix

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root." 1>&2
exit 1