added config check

This commit is contained in:
john30
2017-03-19 21:21:08 +01:00
parent e206d975d4
commit ce45e69774
2 changed files with 28 additions and 9 deletions
+4 -3
View File
@@ -1,5 +1,6 @@
#!/bin/sh
version=`head -n 1 VERSION`
version=`head -n 1 ../../VERSION`
revision=`git describe --always`
echo "ebusd=${version}.${revision}" > versions.txt
#TODO add calculation for config files
echo "ebusd=${version},${revision}" > versions.txt
files=`find config/ -type f -or -type l`
../../src/lib/ebus/test/test_filereader $files|sed -e 's#^config/##' -e 's#^\([^ ]*\) #\1=#' -e 's# #,#g'|sort >> versions.txt