Skip to content

Commit 6d95c26

Browse files
committed
fix(gitpod): export PATH environment variable
1 parent 63f9d20 commit 6d95c26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.gitpod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ports:
1515
port: 57011
1616
tasks:
1717
- before: |
18-
gp env -e "PATH=$PATH:$HOME/.sprkl/bin"
18+
eval $(gp env -e "PATH=$PATH:$HOME/.sprkl/bin")
1919
if [ -d /workspace/sprkl ]; then
2020
cp -rf /workspace/sprkl $HOME/.sprkl
2121
else
@@ -36,7 +36,7 @@ tasks:
3636
sprkl apply
3737
fi
3838
command: |
39-
gp env -e "PATH=$PATH:$HOME/.sprkl/bin"
39+
eval $(gp env -e "PATH=$PATH:$HOME/.sprkl/bin")
4040
if [ -d /workspace/sprkl ]; then
4141
cp -rf /workspace/sprkl $HOME/.sprkl
4242
else

0 commit comments

Comments
 (0)