mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
build system minor fix
This commit is contained in:
parent
b52d8eb1e3
commit
d85ec3bac2
@ -32,9 +32,13 @@ version-cache:
|
||||
echo "`git log -n 1 --format=format:"#define GITHASH \\"%H:%d $$a\\"%n" HEAD`" > vertmp;\
|
||||
if [ -e version-cache ]; then\
|
||||
d=`diff vertmp version-cache`;\
|
||||
[ "${d}" != "" ] && mv vertmp version-cache;\
|
||||
if [ "$${d}" != "" ]; then\
|
||||
mv vertmp version-cache;\
|
||||
rm -f Version.h;\
|
||||
fi;\
|
||||
else\
|
||||
mv vertmp version-cache;\
|
||||
rm -f Version.h;\
|
||||
fi;\
|
||||
rm -f vertmp
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user