OC-PsychOS/genkernel.sh

7 lines
194 B
Bash
Raw Normal View History

2017-07-30 19:12:10 +10:00
#!/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)" > $kn.lua
lua strip.lua $kn.lua s$kn.lua
done