diff options
author | joerg@trift2. <> | 2007-05-02 20:07:01 +0200 |
---|---|---|
committer | joerg@trift2. <> | 2007-05-02 20:07:01 +0200 |
commit | 16dfab5e926a2bb3ee51703c6ce87eb32c9fbf91 (patch) | |
tree | 7c096f59c5eba613d2b8e6d2a65ac927b361f454 /scripts | |
parent | 8ab7ed08a279a0e52c2768c8ad060194bde32e1a (diff) | |
download | mariadb-git-16dfab5e926a2bb3ee51703c6ce87eb32c9fbf91.tar.gz |
Resolve a possible timing issue with "scripts/mysql_fix_privilege_tables_sql.c" in the
source tarball, this is essential for cross builds, like for NetWare.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index cb0658f8756..754ca2ea4c0 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -122,9 +122,11 @@ mysql_fix_privilege_tables.sql: mysql_system_tables.sql \ # # Build mysql_fix_privilege_tables_sql.c from # mysql_fix_privileges_tables.sql using comp_sql +# The "sleep" ensures the generated file has a younger timestamp than its source. # mysql_fix_privilege_tables_sql.c: comp_sql.c mysql_fix_privilege_tables.sql $(MAKE) $(AM_MAKEFLAGS) comp_sql$(EXEEXT) + sleep 5 $(top_builddir)/scripts/comp_sql$(EXEEXT) \ mysql_fix_privilege_tables \ $(top_srcdir)/scripts/mysql_fix_privilege_tables.sql $@ |