Fork me on GitHub
#circleci
<
2021-04-20
>
borkdude21:04:42

@glenjamin @marc-omorain Is it possible that CIRCLE_WORKING_DIRECTORY can be changed to have an expanded home dir? It's pretty much unusable with the hardcoded tilde.

cd $CIRCLE_WORKING_DIRECTORY
-bash: cd: ~/repo: No such file or directory

glenjamin06:04:47

We tried to make this change recently and it broke a bunch of other people, as the timing of when to expand it made a difference depending on the current user

glenjamin06:04:26

There should be a support article about it, but the workaround is to use eval “cd $dir”