Skip to content

Commit

Permalink
download LuaJIT archive instead of git clone
Browse files Browse the repository at this point in the history
  • Loading branch information
missdeer committed Jan 19, 2024
1 parent 8e16a5a commit 90da14c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion golua/lua/buildlua.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ find . -name 'lua*' -type d | while read dir; do
done

if [ ! -d luajit ]; then
git clone --depth 1 https://github.com/LuaJIT/LuaJIT.git luajit
curl -sSL -o LuaJIT.zip https://codeload.github.com/LuaJIT/LuaJIT/zip/refs/heads/v2.1
unzip -q LuaJIT.zip
mv LuaJIT-2.1 luajit
fi
cd luajit
if [ "$OS" == "Darwin" ]; then
Expand Down

0 comments on commit 90da14c

Please sign in to comment.