Enhance bash shebangs
This commit is contained in:
parent
8b3e09d41c
commit
b5f302ac61
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
#Create a RabbitMQ airtime_tests user
|
#Create a RabbitMQ airtime_tests user
|
||||||
#This is necessary for tests to run
|
#This is necessary for tests to run
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -e
|
#!/usr/bin/env bash -e
|
||||||
composer install --no-dev --no-interaction
|
composer install --no-dev --no-interaction
|
||||||
|
|
||||||
git_build=""
|
git_build=""
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Set up 3 way PO file merging, which we need for non-mainline branches
|
# Set up 3 way PO file merging, which we need for non-mainline branches
|
||||||
cp scripts/git-merge-po /usr/local/bin
|
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
|
apt-get install -y --force-yes lsb-release sudo
|
||||||
dist=$(lsb_release -is)
|
dist=$(lsb_release -is)
|
||||||
code=$(lsb_release -cs)
|
code=$(lsb_release -cs)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
exec 2>&1
|
exec 2>&1
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# the base url of the bamboo server
|
# the base url of the bamboo server
|
||||||
baseurl="$1/updateAndBuild.action?buildKey="
|
baseurl="$1/updateAndBuild.action?buildKey="
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -e
|
#!/usr/bin/env bash -e
|
||||||
# Absolute path to this script
|
# Absolute path to this script
|
||||||
SCRIPT=$(readlink -f $0)
|
SCRIPT=$(readlink -f $0)
|
||||||
# Absolute directory this script is in
|
# Absolute directory this script is in
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -e
|
#!/usr/bin/env bash -e
|
||||||
|
|
||||||
#release.sh 1.8.2
|
#release.sh 1.8.2
|
||||||
#creates a libretime folder with a "1.8.2" suffix
|
#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
|
if [[ $EUID -ne 0 ]]; then
|
||||||
echo "This script must be run as root." 1>&2
|
echo "This script must be run as root." 1>&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
2
install
2
install
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -e
|
#!/usr/bin/env bash -e
|
||||||
|
|
||||||
#-e Causes bash script to exit if any of the installers
|
#-e Causes bash script to exit if any of the installers
|
||||||
#return with a non-zero return value.
|
#return with a non-zero return value.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -e
|
#!/usr/bin/env bash -e
|
||||||
#-e Causes bash script to exit if any of the installers
|
#-e Causes bash script to exit if any of the installers
|
||||||
#return with a non-zero return value.
|
#return with a non-zero return value.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Additional Repos
|
# Additional Repos
|
||||||
yum install -y epel-release
|
yum install -y epel-release
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get -y install alsa-utils
|
DEBIAN_FRONTEND=noninteractive apt-get -y install alsa-utils
|
||||||
usermod -a -G audio vagrant
|
usermod -a -G audio vagrant
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: libretime-analyzer
|
# Provides: libretime-analyzer
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -xv
|
#!/usr/bin/env bash -xv
|
||||||
|
|
||||||
post_file() {
|
post_file() {
|
||||||
#kill process after 30 minutes (360*5=30 minutes)
|
#kill process after 30 minutes (360*5=30 minutes)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: airtime-liquidsoap
|
# Provides: airtime-liquidsoap
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
### BEGIN INIT INFO
|
### BEGIN INIT INFO
|
||||||
# Provides: airtime-playout
|
# Provides: airtime-playout
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash -e
|
#!/usr/bin/env bash -e
|
||||||
# -e Causes bash script to exit if any of the steps
|
# -e Causes bash script to exit if any of the steps
|
||||||
# return with a non-zero return value.
|
# return with a non-zero return value.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Absolute path to this script
|
# Absolute path to this script
|
||||||
SCRIPT=$(readlink -f $0)
|
SCRIPT=$(readlink -f $0)
|
||||||
# Absolute directory this script is in
|
# Absolute directory this script is in
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# Copyright (c) 2011 Sourcefabric O.P.S.
|
# Copyright (c) 2011 Sourcefabric O.P.S.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# Copyright (c) 2011 Sourcefabric O.P.S.
|
# Copyright (c) 2011 Sourcefabric O.P.S.
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ -z "$1" ]; then
|
if [ -z "$1" ]; then
|
||||||
## Use config
|
## Use config
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
/etc/init.d/rabbitmq-server status | grep "\[{pid"
|
/etc/init.d/rabbitmq-server status | grep "\[{pid"
|
||||||
pid_found="$?"
|
pid_found="$?"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# A bash script to convert all Rivendell's audio-library to MP3, extract meta-tags from Rivendell's
|
# A bash script to convert all Rivendell's audio-library to MP3, extract meta-tags from Rivendell's
|
||||||
# database and set appropriate tags to each MP3 file.
|
# database and set appropriate tags to each MP3 file.
|
||||||
|
|
Loading…
Reference in New Issue