force running scripts in bash, as it's not the default shell on Ubuntu (which is what Travis runs)
This commit is contained in:
+2
-1
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
# config
|
||||
SYNAPSE_BRANCH=master
|
||||
INSTALLATION_NAME=consent
|
||||
@@ -7,7 +8,7 @@ PORT=8008
|
||||
# set current directory to script directory
|
||||
BASE_DIR=$(readlink -f $(dirname $0))
|
||||
|
||||
if [[ -d $BASE_DIR/$SERVER_DIR ]]; then
|
||||
if [ -d $BASE_DIR/$SERVER_DIR ]; then
|
||||
echo "synapse is already installed"
|
||||
exit
|
||||
fi
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
BASE_DIR=$(readlink -f $(dirname $0))
|
||||
cd $BASE_DIR
|
||||
cd installations/consent
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
#!/bin/bash
|
||||
BASE_DIR=$(readlink -f $(dirname $0))
|
||||
cd $BASE_DIR
|
||||
cd installations/consent
|
||||
|
||||
Reference in New Issue
Block a user