diff --git a/.docker/files/chromium/test b/.docker/files/chromium/test index 86da942a..aadd45a6 100755 --- a/.docker/files/chromium/test +++ b/.docker/files/chromium/test @@ -1,5 +1,7 @@ #!/bin/bash +set -eux + DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" # diff --git a/.docker/files/firefox/test b/.docker/files/firefox/test index 4e6aaac6..74f3e6bc 100755 --- a/.docker/files/firefox/test +++ b/.docker/files/firefox/test @@ -1,5 +1,7 @@ #!/bin/bash +set -eux + DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" # diff --git a/.docker/test b/.docker/test index ad35f3fd..d4256777 100755 --- a/.docker/test +++ b/.docker/test @@ -13,13 +13,14 @@ export SCREEN_HEIGHT=720 export SCREEN_DEPTH=24 export DISPLAY=:99.0 +set -eux + # # create log folders if [ ! -L /var/log/neko ]; then - mkdir -p /var/log/neko - mkdir -p logs + mkdir -p logs/neko - ln -s /workspace/.docker/logs /var/log/neko + ln -s /workspace/.docker/logs/neko /var/log/neko chown -R $USER logs chown -R $USER /var/log/neko