Use sh instead of bash in portable scripts #118

Closed
wants to merge 1 commit into
from
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
echo "Starting kestrel in development mode..."
# find jar no matter what the root dir name
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
DIST_HOME="$(dirname $(readlink $0 || echo $0))/../.."
TEST_JAR=$DIST_HOME/@DIST_NAME@-@VERSION@-test.jar
java -server -classpath @DIST_CLASSPATH@:$TEST_JAR net.lag.kestrel.load.Flood "$@"
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
DIST_HOME="$(dirname $(readlink $0 || echo $0))/../.."
TEST_JAR=$DIST_HOME/@DIST_NAME@-@VERSION@-test.jar
java -server -classpath @DIST_CLASSPATH@:$TEST_JAR net.lag.kestrel.load.LeakyThriftReader "$@"
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
DIST_HOME="$(dirname $(readlink $0 || echo $0))/../.."
TEST_JAR=$DIST_HOME/@DIST_NAME@-@VERSION@-test.jar
java -server -classpath @DIST_CLASSPATH@:$TEST_JAR net.lag.kestrel.load.ManyClients "$@"
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
DIST_HOME="$(dirname $(readlink $0 || echo $0))/../.."
TEST_JAR=$DIST_HOME/@DIST_NAME@-@VERSION@-test.jar
java -server -classpath @DIST_CLASSPATH@:$TEST_JAR net.lag.kestrel.load.JournalPacking "$@"
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
DIST_HOME="$(dirname $(readlink $0 || echo $0))/../.."
TEST_JAR=$DIST_HOME/@DIST_NAME@-@VERSION@-test.jar
java -server -classpath @DIST_CLASSPATH@:$TEST_JAR net.lag.kestrel.load.PutMany "$@"