Skip to content

Commit

Permalink
emscripten script lua mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
hugeping committed Dec 9, 2023
1 parent 5486f95 commit 82f674b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Install Packages
run: |
sudo apt-get update -qq
sudo apt-get install -y git python3
sudo apt-get install -y git
- if: ${{ steps.cache-emsdk.outputs.cache-hit != 'true' }}
name: Prep
Expand Down
2 changes: 1 addition & 1 deletion contrib/instead-em-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ deps()
cd $WORKSPACE
if ! test -r .stamp_lua; then
rm -rf lua-5.1.5
[ -f lua-5.1.5.tar.gz ] || wget -nv 'https://www.lua.org/ftp/lua-5.1.5.tar.gz'
[ -f lua-5.1.5.tar.gz ] || wget -nv 'https://www.lua.org/ftp/lua-5.1.5.tar.gz' || wget -nv 'https://www.tecgraf.puc-rio.br/lua/mirror/ftp/lua-5.1.5.tar.gz'
tar xf lua-5.1.5.tar.gz
cd lua-5.1.5
cat src/luaconf.h | sed -e 's/#define LUA_USE_POPEN//g' -e 's/#define LUA_USE_ULONGJMP//g'>src/luaconf.h.new
Expand Down

0 comments on commit 82f674b

Please sign in to comment.