From 553bb98636c124f301fc705b09313b26fd3f080c Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Tue, 19 Sep 2017 22:07:10 +0200 Subject: ci: Make sandbox paths absolute --- scripts/ci/steps/00-config.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scripts/ci') 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")" -- cgit v1.2.3