Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 2ec75dc

Browse files
committed
Create STACK_ROOT before writing config
1 parent 9b026f4 commit 2ec75dc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.azure/windows-installhs-stack.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
cacheHitVar: CACHE_RESTORED
1515
displayName: "Cache stack-root"
1616
- bash: |
17-
mkdir -p $STACK_ROOT
17+
mkdir -p "$STACK_ROOT"
1818
tar -vxzf .azure-cache/stack-root.tar.gz -C /d
1919
mkdir -p .stack-work
2020
tar -vxzf .azure-cache/stack-work.tar.gz
@@ -25,7 +25,8 @@ jobs:
2525
- bash: |
2626
curl -sSkL http://www.stackage.org/stack/windows-x86_64 -o /usr/bin/stack.zip
2727
unzip -o /usr/bin/stack.zip -d /usr/bin/
28-
echo "local-programs-path: D:/bin/stack" > $STACK_ROOT/config.yaml
28+
mkdir -p "$STACK_ROOT"
29+
echo "local-programs-path: D:/bin/stack" > "$STACK_ROOT/config.yaml"
2930
displayName: Install stack
3031
- bash: |
3132
source .azure/windows-stack.bashrc

0 commit comments

Comments
 (0)