Enhance bash shebangs
This commit is contained in:
parent
8b3e09d41c
commit
b5f302ac61
24 changed files with 24 additions and 24 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
exec 2>&1
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# the base url of the bamboo server
|
||||
baseurl="$1/updateAndBuild.action?buildKey="
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue