Skip to content

Commit

Permalink
Fix download tarball file extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliottslaughter committed Sep 20, 2023
1 parent e562522 commit 2b51e96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
set -e
set -x

curl -L -O https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-project-$version.src.tar.gz
curl -L -O https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/llvm-project-$version.src.tar.xz
uname
if [[ $(uname) = MINGW* ]]; then
7z x -y llvm-project-$version.src.tar.gz
7z x -y llvm-project-$version.src.tar.xz
7z x -y llvm-project-$version.src.tar
else
tar xf llvm-project-$version.src.tar.gz
tar xf llvm-project-$version.src.tar.xz
fi

mkdir build install
Expand Down

0 comments on commit 2b51e96

Please sign in to comment.