mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-06 20:09:54 -05:00
190deca0c3
Most non-bash(like) shells don't support command line arguments for the echo command and print them like regular text. On these systems an invalid gen_version.h file is generated. This can be fixed by using printf instead of echo which works the same on all Unix systems. Also fix the detection whether the gen_version.h file changed before rewriting it. This prevents creating a file with exactly the same content but a newer timestamp and therefore make deciding to recompile all files including it.