diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2017-09-19 22:07:10 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2017-09-25 13:11:28 +0200 |
commit | 553bb98636c124f301fc705b09313b26fd3f080c (patch) | |
tree | c84a85d31cf1a2a2a74efb0abec8b1d2035da1e6 /scripts/ci | |
parent | 89c19b2e72a297e4fef075ffb48ef9ac6632d44e (diff) |
ci: Make sandbox paths absolute
Diffstat (limited to 'scripts/ci')
-rw-r--r-- | scripts/ci/steps/00-config.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/ci/steps/00-config.sh b/scripts/ci/steps/00-config.sh index b628abd..b6c3140 100644 --- a/scripts/ci/steps/00-config.sh +++ b/scripts/ci/steps/00-config.sh @@ -1,9 +1,9 @@ if [ -w . ]; then - sandbox=./.cabal-sandbox - sandbox_config=./cabal.sandbox.config + sandbox="$PWD"/.cabal-sandbox + sandbox_config="$PWD"/cabal.sandbox.config else - sandbox=$HOME/cabal-sandbox - sandbox_config=$HOME/cabal.sandbox.config + sandbox="$HOME"/cabal-sandbox + sandbox_config="$HOME"/cabal.sandbox.config fi source_dir="$(mktemp --tmpdir -d "cabal-helper.sdistXXXXXXXXX")" |