If a user manually changes a generated file, don't ever overwrite it.
That way the user can modify an auto-generated 'compile' script, for example, and it'll stay modified. If they delete the file, we can then generate it for them again. Also, we have to warn whenever we're doing this, or people might think it's a bug.
This commit is contained in:
parent
0126f6be1e
commit
f6d11d5411
4 changed files with 44 additions and 11 deletions
|
|
@ -5,5 +5,5 @@
|
|||
echo "pragma synchronous = off;"
|
||||
echo "update Files set checked_runid=null, " \
|
||||
" changed_runid=changed_runid-1, " \
|
||||
" failed_runid=null;"
|
||||
" failed_runid=failed_runid-1;"
|
||||
) | sqlite3 "$REDO_BASE/.redo/db.sqlite3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue