From a428a36c5d631d8477728905bb990193f7ba7efb Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Wed, 6 Nov 2019 14:01:10 +1100 Subject: [PATCH] made build.sh add an _OSVERSION string --- build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build.sh b/build.sh index 95b59eb..0a8101e 100755 --- a/build.sh +++ b/build.sh @@ -2,4 +2,7 @@ rm -r target/* mkdir target 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/