1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-12-24 14:20:59 +03:00

Changes to how source generating scripts are called from cmakelists

This commit is contained in:
Ben Thompson
2016-07-14 13:12:52 -05:00
parent 424628349b
commit 934920d73e
5 changed files with 25 additions and 64 deletions

View File

@@ -0,0 +1,8 @@
#!/bin/sh
./genMsgId.pl > messageids-temp.h
diff -abBq messageids-temp.h messageids.h >/dev/null 2>&1; if [ $? -ne 0 ]; then mv -f messageids-temp.h messageids.h; else touch messageids.h; fi;
rm -f messageids-temp.h
./genErrId.pl > errorids-temp.h
diff -abBq errorids-temp.h errorids.h >/dev/null 2>&1; if [ $? -ne 0 ]; then mv -f errorids-temp.h errorids.h; else touch errorids.h; fi;
rm -f errorids-temp.h