Permalink
Browse files

Explicitly use bash for all 'run' scripts, to prevent issues with rvm…

… not loading under plain 'sh'
  • Loading branch information...
1 parent 375190e commit d8c41edc9ba2937fc870ecae0794e61b517e4736 @purcell committed Apr 9, 2012
Showing with 23 additions and 23 deletions.
  1. +1 −1 add-ferret-server
  2. +1 −1 add-haproxy
  3. +1 −1 add-kirk
  4. +1 −1 add-maintenance
  5. +1 −1 add-memcached
  6. +1 −1 add-mongrel
  7. +1 −1 add-nginx
  8. +1 −1 add-thin
  9. +1 −1 add-thinking-sphinx
  10. +1 −1 add-unicorn
  11. +1 −1 add-varnish
  12. +1 −1 check-port
  13. +1 −1 ferret-server-run
  14. +1 −1 haproxy-run
  15. +1 −1 kirk-run
  16. +1 −1 maintenance-run
  17. +1 −1 memcached-run
  18. +1 −1 mongrel-run
  19. +1 −1 nginx-run
  20. +1 −1 thin-run
  21. +1 −1 thinking-sphinx-run
  22. +1 −1 unicorn-run
  23. +1 −1 varnish-run
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
SERVICE_DIR=$(dirname $0)/service
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
SERVICE_DIR=$(dirname $0)/service
PORT=$1
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
SERVICE_DIR=$(dirname $0)/service
PORT=$1
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
SERVICE_DIR=$(dirname $0)/service
PORT=$1
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
SERVICE_DIR=$(dirname $0)/service
PORT=$1
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
SERVICE_DIR=$(dirname $0)/service
PORT=$1
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
SERVICE_DIR=$(dirname $0)/service
PORT=$1
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
SERVICE_DIR=$(dirname $0)/service
PORT=$1
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
SERVICE_DIR=$(dirname $0)/service
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
SERVICE_DIR=$(dirname $0)/service
PORT=$1
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
SERVICE_DIR=$(dirname $0)/service
PORT=$1
View
@@ -1,3 +1,3 @@
-#!/bin/sh -e
+#!/bin/bash -e
PORT=$(basename $(pwd)|awk -F- '{print $2}')
nc -z localhost $PORT
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
. ../../bootstrap
RAILS_ROOT=$APP_DIR exec ferret_server -e production run
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
. ../../bootstrap
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
. ../../bootstrap
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
. ../../bootstrap
PORT=$(basename $(pwd)|awk -F- '{print $2}')
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
. ../../bootstrap
PORT=$(basename $(pwd)|awk -F- '{print $2}')
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
. ../../bootstrap
PORT=$(basename $(pwd)|awk -F- '{print $2}')
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
. ../../bootstrap
PORT=$(basename $(pwd)|awk -F- '{print $2}')
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
. ../../bootstrap
PORT=$(basename $(pwd)|awk -F- '{print $2}')
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
. ../../bootstrap
PORT=$(basename $(pwd)|awk -F- '{print $2}')
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
#
# Supervises unicorn; stopping this service prompts a graceful shutdown of the
View
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/bash -e
. ../../bootstrap

0 comments on commit d8c41ed

Please sign in to comment.