Skip to content

Commit 3910d09

Browse files
authored
fix: validate.sh was incomplete for testing gitpod-io#23
`./validate.sh` currently fails on a fresh gitpod workspace with: ``` rm: cannot remove '/ide/xterm': Is a directory ln: failed to create symbolic link '/ide/xterm/xterm': File exists ```
1 parent 8f10c5f commit 3910d09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tar -xvf /workspace/rebuild/xterm.tar -C /workspace/rebuild/
1111
find /workspace/rebuild/ -name layer.tar -exec tar -xvf {} -C /workspace/rebuild/ \;
1212

1313
cp /workspace/rebuild/ide/supervisor-ide-config.json /ide/
14-
rm /ide/xterm && true
14+
rm -fr /ide/xterm || true
1515
ln -s /workspace/rebuild/ide/xterm /ide/xterm
1616
echo "xterm: linked in /ide"
1717

0 commit comments

Comments
 (0)