Skip to content

Commit 428ccf0

Browse files
committed
chore(circle): Fix
1 parent c4ef698 commit 428ccf0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

circle.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ dependencies:
88
- ".crystal"
99
pre:
1010
- |
11-
if [[ ! -e .crystal/bin/crystal || $(crystal --version | grep -P -o '\d+\.\d+\.\d+') != "${CRYSTAL_VERSION}" ]]; then
12-
mkdir .crystal
13-
wget "${CRYSTAL_URL}" -O crystal.tar.gz &&\
14-
tar -zxvf crystal.tar.gz -C .crystal --strip-components=1
11+
if [[ ! -e "${HOME}/.crystal/bin/crystal" || $(crystal --version | grep -P -o '\d+\.\d+\.\d+') != "${CRYSTAL_VERSION}" ]]; then
12+
mkdir "${HOME}/.crystal"
13+
wget "${CRYSTAL_URL}" -O "${HOME}/crystal.tar.gz" &&\
14+
tar -zxvf "${HOME}/crystal.tar.gz" -C "${HOME}/.crystal" --strip-components=1
1515
fi
1616
override:
1717
- crystal deps

0 commit comments

Comments
 (0)