stamp the kernel variant onto the version string

This commit is contained in:
Izaya 2023-08-01 20:44:14 +10:00
parent ae634bc52e
commit 7849fca4a0
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
rm -r target/*
mkdir -p target/doc &>/dev/null
$LUA build.lua kcfg/$KVAR.cfg target/init.lua
echo _OSVERSION=\"PsychOS 2.0a3-$(git rev-parse --short HEAD)\" > target/version.lua
echo _OSVERSION=\"PsychOS 2.0a3-$(git rev-parse --short HEAD)-$KVAR\" > target/version.lua
cat target/version.lua target/init.lua > target/tinit.lua
mv target/tinit.lua target/init.lua
cp -r service/ lib/ cfg/ exec/ target/