forked from izaya/OC-PsychOS2
made build.sh add an _OSVERSION string
This commit is contained in:
parent
69666130da
commit
a428a36c5d
3
build.sh
3
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/
|
||||
|
Loading…
Reference in New Issue
Block a user