summaryrefslogtreecommitdiffstats
path: root/sdc-os-chef
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2017-03-08 17:33:55 -0500
committerAlexis de Talhouët <adetalhouet89@gmail.com>2017-03-08 22:37:17 +0000
commita644558cdcd51b9198c7723bfb378a3b1753fb7a (patch)
treec6cbc97d785e44118c743617f318144b963ddf19 /sdc-os-chef
parent36771967c477f75206e15555f839ac23900172be (diff)
Use #!/bin/bash to use [[
[[ is a bash-builtin command, hence it is failing to be run in a sh script. Failure seen: ./startup.sh: 13: ./startup.sh: [[: not found Change-Id: I922d4627dc3ea371d3cdd94bdc1135c58c2a40c6 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'sdc-os-chef')
-rwxr-xr-x[-rw-r--r--]sdc-os-chef/sdc-cassandra/startup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdc-os-chef/sdc-cassandra/startup.sh b/sdc-os-chef/sdc-cassandra/startup.sh
index 2bfee3211c..89d95ea022 100644..100755
--- a/sdc-os-chef/sdc-cassandra/startup.sh
+++ b/sdc-os-chef/sdc-cassandra/startup.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
cd /root/chef-solo
export CHEFNAME=${ENVNAME}