Skip to content

Commit 96e03a2

Browse files
melhindilemmy
authored andcommitted
Fix incorrect tar flag in install.sh
The `z` flag in the `tar` command in the `install.sh` script was on the wrong position. This caused the following error: `tar: z: Cannot open: No such file or directory` Making `f` the last flag before the filename and moving the `z` to the front fixes the issue.
1 parent 9de4025 commit 96e03a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ echo 'export PATH=$PATH:/workspace/Examples/tools/tlaps/bin:/workspaces/Examples
4040
## Install Apalache
4141
wget -qN https://github.com/informalsystems/apalache/releases/latest/download/apalache.tgz -P /tmp
4242
mkdir -p tools/
43-
tar -xvfz /tmp/apalache.tgz --directory tools/
43+
tar -zxvf /tmp/apalache.tgz --directory tools/
4444
echo 'export PATH=$PATH:/workspace/Examples/tools/apalache/bin:/workspaces/Examples/tools/apalache/bin' >> $HOME/.bashrc
4545
tools/apalache/bin/apalache-mc config --enable-stats=true
4646

4747
## Install TLAUC
4848
wget -qN https://github.com/tlaplus-community/tlauc/releases/latest/download/tlauc-linux.tar.gz -P /tmp
4949
mkdir -p tools/tlauc
50-
tar -xvfz /tmp/tlauc-linux.tar.gz --directory tools/tlauc/
50+
tar -zxvf /tmp/tlauc-linux.tar.gz --directory tools/tlauc/
5151
echo 'export PATH=$PATH:/workspace/Examples/tools/tlauc:/workspaces/Examples/tools/tlauc' >> $HOME/.bashrc
5252

0 commit comments

Comments
 (0)