Fix paths

This commit is contained in:
Jose Diaz-Gonzalez
2015-09-06 23:39:04 -04:00
parent 2983d4767e
commit 909888ec45
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
source "$(dirname $0)/unit/test_helper.bash"
source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/unit/test_helper.bash"
if [[ ! -d $DOKKU_ROOT ]]; then
git clone https://github.com/progrium/dokku.git $DOKKU_ROOT > /dev/null

View File

@@ -1,9 +1,9 @@
#!/usr/bin/env bash
export DOKKU_QUIET_OUTPUT=1
export DOKKU_ROOT="tests/dokku"
export DOKKU_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/dokku"
export DOKKU_VERSION=${DOKKU_VERSION:-"master"}
export PATH="$(dirname $0)/dokku:$PATH"
export PATH="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/dokku:$PATH"
export PLUGIN_PATH="$DOKKU_ROOT/plugins"
export SERVICE=redis