OC-PsychOS/genkernel.sh

8 lines
175 B
Bash
Executable File

#!/bin/bash
mkdir -p out/
for f in `dir -d configs/*`; do
kn=$(echo $f | cut -f 1 -d '.' | cut -f 2 -d "/")
lua exec/lmk.lua $f
lua strip.lua out/$kn.lua out/s$kn.lua
done