1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-27 16:01:57 +03:00

permit execution of scripts when source is located on a non-executable file system

This commit is contained in:
David Mott
2019-04-25 22:15:51 -05:00
parent f29f909482
commit 55acbf8c5c
2 changed files with 3 additions and 3 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/sh
./genMsgId.pl > messageids-temp.h
perl ./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 -a messageids.h; fi;
rm -f messageids-temp.h
./genErrId.pl > errorids-temp.h
perl ./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 -a errorids.h; fi;
rm -f errorids-temp.h