summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rwxr-xr-xinit10
1 files changed, 9 insertions, 1 deletions
diff --git a/init b/init
index 30ad5d0..d9c208f 100755
--- a/init
+++ b/init
@@ -1,2 +1,10 @@
1#!/bin/sh -ex 1#!/bin/sh -ex
2ls -lah 2
3luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..")
4mkdir "$luaver"
5tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1
6cd "$luaver"
7make mingw "CFLAGS= -Wall -Wextra -std=c99 -pedantic $1 $2"
8cd "/root/"
9cp "$luaver/src/*.exe" .
10cp "$luaver/src/*.dll" .