made genkernel.sh mkdir out if it doesn't exist

This commit is contained in:
Izaya 2017-09-13 14:28:33 +10:00
parent 4557dc3ad4
commit 69628df044
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash
mkdir -p out/
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