OC-PsychOS/genkernel.sh

7 lines
206 B
Bash
Executable File

#!/bin/bash
for f in `dir -d configs/*`; do
kn=$(echo $f | cut -f 1 -d '.' | cut -f 2 -d "/")
./genkernel.lua $f "$(git rev-parse --short HEAD)" > out/$kn.lua
lua strip.lua out/$kn.lua out/s$kn.lua
done