Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
修复了无法下载openal的问题
给bash脚本添加 -x参数
  • Loading branch information
huangguiniab committed Nov 18, 2021
1 parent f552005 commit f57b51b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build_script/00-action-setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
set -o errexit
set -o nounset
set -x

#复制构建脚本到操作环境
sudo cp -r lwjgl-backports/build_script/*.sh arm64/
Expand All @@ -15,7 +16,9 @@ sudo cp -r lwjgl/ arm64/
sudo cp -r lwjgl/ armhf/

#下载OPENAL到操作环境
mkdir arm64/lwjgl/dist
wget -O arm64/lwjgl/dist/libopenal.so https://build.lwjgl.org/stable/linux/arm64/libopenal.so
wget -O arm64/lwjgl/dist/libopenal64.so https://build.lwjgl.org/stable/linux/arm64/libopenal.so
mkdir armhf/lwjgl/dist
wget -O armhf/lwjgl/dist/libopenal.so https://build.lwjgl.org/stable/linux/arm32/libopenal.so
wget -O armhf/lwjgl/dist/libopenal64.so https://build.lwjgl.org/stable/linux/arm32/libopenal.so
1 change: 1 addition & 0 deletions build_script/01-setup.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
set -o errexit
set -o nounset
set -x
apt update
apt install gnupg wget apt-transport-https libx11-dev libxxf86vm-dev libxt-dev libxcursor-dev libxrandr-dev -y
wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | apt-key add -
Expand Down
1 change: 1 addition & 0 deletions build_script/02-build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
set -o errexit
set -o nounset
set -x
cd /lwjgl
rm platform_build/linux_ant/build.xml
cp /build.xml platform_build/linux_ant/build.xml
Expand Down
1 change: 1 addition & 0 deletions build_script/03-action-clear.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/bash
set -o errexit
set -o nounset
set -x

#从arm64复制所有纯java库
sudo mkdir dist
Expand Down

0 comments on commit f57b51b

Please sign in to comment.