Skip to content

Commit e40d2d2

Browse files
committed
lua: build scripts updated
1 parent 4ce149a commit e40d2d2

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

lua/build-linux.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -e
33
script_dir="$(cd "$(dirname "$0")" && pwd)"
44
arch=$(arch)
55

6-
pushd "$script_dir/build/lua-"*
6+
cd "$script_dir/build/lua-"*
77

88
patch -p1 -i ../../build.patch
99

@@ -18,5 +18,3 @@ make \
1818

1919
x86_64-linux-gnu-strip --strip-unneeded src/lua
2020
cp src/lua ../../lua-linux-$arch
21-
22-
popd

lua/build-mingw-i686.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ set -e
22

33
script_dir="$(cd "$(dirname "$0")" && pwd)"
44

5-
pushd "$script_dir/build/lua-"*
5+
cd "$script_dir/build/lua-"*
66

77
patch -p1 -i ../../build.patch
88

@@ -14,5 +14,3 @@ make \
1414

1515
i686-w64-mingw32-strip --strip-unneeded src/lua.exe
1616
cp src/lua.exe ../../lua-windows-i686.exe
17-
18-
popd

lua/build-mingw-x86_64.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ set -e
22

33
script_dir="$(cd "$(dirname "$0")" && pwd)"
44

5-
pushd "$script_dir/build/lua-"*
5+
cd "$script_dir/build/lua-"*
66

77
patch -p1 -i ../../build.patch
88

@@ -14,5 +14,3 @@ make \
1414

1515
x86_64-w64-mingw32-strip --strip-unneeded src/lua.exe
1616
cp src/lua.exe ../../lua-windows-x86_64.exe
17-
18-
popd

0 commit comments

Comments
 (0)