force running scripts in bash, as it's not the default shell on Ubuntu (which is what Travis runs)

This commit is contained in:
Bruno Windels
2018-07-31 10:35:21 +02:00
parent ebc9859cce
commit 20becf8735
8 changed files with 10 additions and 2 deletions
+2 -1
View File
@@ -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
View File
@@ -1,3 +1,4 @@
#!/bin/bash
BASE_DIR=$(readlink -f $(dirname $0))
cd $BASE_DIR
cd installations/consent
+1
View File
@@ -1,3 +1,4 @@
#!/bin/bash
BASE_DIR=$(readlink -f $(dirname $0))
cd $BASE_DIR
cd installations/consent