run.sh: Delete the tar archive after extracting.

This commit is contained in:
IntegratedQuantum 2023-10-05 13:17:05 +02:00
parent 66993820bb
commit d264518cde

1
run.sh
View File

@ -13,6 +13,7 @@ if [[ $(< compiler/version.txt) != "$version" ]]; then
echo "Extracting tar file..."
tar --xz -xf compiler/archive.tar.xz --directory compiler/zig --strip-components 1
echo "Done."
rm compiler/archive.tar.xz
rm compiler/version.txt
printf "$version" >> compiler/version.txt
fi