1
1
mirror of https://git.shadowkat.net/izaya/OC-PsychOS2.git synced 2024-11-25 12:42:10 -05:00

made build.sh add an _OSVERSION string

This commit is contained in:
XeonSquared 2019-11-06 14:01:10 +11:00
parent 69666130da
commit a428a36c5d

View File

@ -2,4 +2,7 @@
rm -r target/* rm -r target/*
mkdir target mkdir target
lua luapreproc.lua module/init.lua target/init.lua lua luapreproc.lua module/init.lua target/init.lua
echo _OSVERSION=\"PsychOS 2.0a1-$(git rev-parse --short HEAD)\" > target/version.lua
cat target/version.lua target/init.lua > target/tinit.lua
mv target/tinit.lua target/init.lua
cp -r exec/ service/ lib/ target/ cp -r exec/ service/ lib/ target/