From c3b7e6c7cb6d7a7d983f2d7e6e393fff577439c6 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 27 Jul 2018 16:01:54 +0200 Subject: [PATCH] make scripts executable, running them with sh does something weird on travis --- README.md | 4 ++-- install.sh | 4 ++-- riot/install.sh | 0 riot/start.sh | 0 riot/stop.sh | 0 run.sh | 8 ++++---- synapse/install.sh | 0 synapse/start.sh | 0 synapse/stop.sh | 0 9 files changed, 8 insertions(+), 8 deletions(-) mode change 100644 => 100755 install.sh mode change 100644 => 100755 riot/install.sh mode change 100644 => 100755 riot/start.sh mode change 100644 => 100755 riot/stop.sh mode change 100644 => 100755 run.sh mode change 100644 => 100755 synapse/install.sh mode change 100644 => 100755 synapse/start.sh mode change 100644 => 100755 synapse/stop.sh diff --git a/README.md b/README.md index 5bd4c1dadc..b1a4e40aac 100644 --- a/README.md +++ b/README.md @@ -35,14 +35,14 @@ puppeteer.launch({headless: false}); ### Setup -Run `sh install.sh`. This will: +Run `./install.sh`. This will: - install synapse, fetches the master branch at the moment. If anything fails here, please refer to the synapse README to see if you're missing one of the prerequisites. - install riot, this fetches the master branch at the moment. - install dependencies (will download copy of chrome) ### Run tests -Run tests with `sh run.sh`. +Run tests with `./run.sh`. Developer Guide =============== diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index ca8a51bd69..98ce104ba0 --- a/install.sh +++ b/install.sh @@ -1,5 +1,5 @@ #!/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 +./synapse/install.sh +./riot/install.sh npm install diff --git a/riot/install.sh b/riot/install.sh old mode 100644 new mode 100755 diff --git a/riot/start.sh b/riot/start.sh old mode 100644 new mode 100755 diff --git a/riot/stop.sh b/riot/stop.sh old mode 100644 new mode 100755 diff --git a/run.sh b/run.sh old mode 100644 new mode 100755 index ae073d2ba9..90e1528d48 --- a/run.sh +++ b/run.sh @@ -1,6 +1,6 @@ #!/bin/bash -sh synapse/start.sh -sh riot/start.sh +./synapse/start.sh +./riot/start.sh node start.js -sh riot/stop.sh -sh synapse/stop.sh +./riot/stop.sh +./synapse/stop.sh diff --git a/synapse/install.sh b/synapse/install.sh old mode 100644 new mode 100755 diff --git a/synapse/start.sh b/synapse/start.sh old mode 100644 new mode 100755 diff --git a/synapse/stop.sh b/synapse/stop.sh old mode 100644 new mode 100755