normalizing shebang and bash options. also added long-term fix for bootstrap instructions

This commit is contained in:
Jeff Lindsay
2013-10-29 17:13:02 -05:00
parent 14b71cec87
commit df7507d1be
15 changed files with 32 additions and 32 deletions

View File

@@ -1,5 +1,6 @@
#!/bin/bash
set -e; case "$1" in
#!/usr/bin/env bash
set -eo pipefail
case "$1" in
delete)
if [[ -z $2 ]]; then
echo "Please specify an app to delete"

View File

@@ -1,4 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
sed -i 's/docker -d$/docker -d -r=true/' /etc/init/docker.conf

View File

@@ -1,3 +1,3 @@
#!/bin/bash
set -e
#!/usr/bin/env bash
set -eo pipefail
[[ -n $1 ]] && rm -r "$DOKKU_ROOT/$1" > /dev/null

View File

@@ -1,5 +1,5 @@
#!/bin/bash
set -e;
#!/usr/bin/env bash
set -eo pipefail
# Check if name is specified
if [[ $1 == config ]] || [[ $1 == config:* ]]; then

View File

@@ -1,5 +1,5 @@
#!/bin/bash
set -e;
#!/usr/bin/env bash
set -eo pipefail
case "$1" in
git-hook)

View File

@@ -1,2 +1,3 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
cat

View File

@@ -1,4 +1,5 @@
#!/bin/bash
#!/usr/bin/env bash
set -eo pipefail
# latest stable NGINX 1.4.x with websocket support
add-apt-repository -y ppa:nginx/stable

View File

@@ -1,3 +1,3 @@
#!/bin/bash
set -e
#!/usr/bin/env bash
set -eo pipefail
sudo /etc/init.d/nginx reload > /dev/null

View File

@@ -1,5 +1,5 @@
#!/bin/bash
set -e
#!/usr/bin/env bash
set -eo pipefail
APP="$1"; PORT="$2"
WILDCARD_SSL="$DOKKU_ROOT/ssl"
SSL="$DOKKU_ROOT/$APP/ssl"