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-27 15:08:14 +02:00
parent ebc9859cce
commit 20becf8735
8 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,4 @@
#!/bin/bash
# run with PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true sh install.sh if chrome is already installed
sh synapse/install.sh
sh riot/install.sh

View file

@ -1,7 +1,8 @@
#!/bin/bash
RIOT_BRANCH=master
BASE_DIR=$(readlink -f $(dirname $0))
if [[ -d $BASE_DIR/riot-web ]]; then
if [ -d $BASE_DIR/riot-web ]; then
echo "riot is already installed"
exit
fi

View file

@ -1,3 +1,4 @@
#!/bin/bash
PORT=8080
echo "running riot on http://localhost:$PORT..."
BASE_DIR=$(readlink -f $(dirname $0))

View file

@ -1,3 +1,4 @@
#!/bin/bash
BASE_DIR=$(readlink -f $(dirname $0))
cd $BASE_DIR
PIDFILE=riot.pid

1
run.sh
View file

@ -1,3 +1,4 @@
#!/bin/bash
sh synapse/start.sh
sh riot/start.sh
node start.js

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

View file

@ -1,3 +1,4 @@
#!/bin/bash
BASE_DIR=$(readlink -f $(dirname $0))
cd $BASE_DIR
cd installations/consent

View file

@ -1,3 +1,4 @@
#!/bin/bash
BASE_DIR=$(readlink -f $(dirname $0))
cd $BASE_DIR
cd installations/consent