diff options
author | Erich Eckner <git@eckner.net> | 2018-05-09 13:56:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-05-09 13:56:44 +0200 |
commit | 2a7cc8a65a30c92ddd42d2ea33d324f41319fbe7 (patch) | |
tree | 353b2df4ad37d3e5811ecf7161395fa1d59cc0b2 /bin | |
parent | 149b3599260956de3c9f0d75def8741bbe7c66ca (diff) | |
download | builder-2a7cc8a65a30c92ddd42d2ea33d324f41319fbe7.tar.xz |
bin/check-db-structure: correctly escape \1
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/check-db-structure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/check-db-structure b/bin/check-db-structure index 5f7d9c2..7354bf4 100755 --- a/bin/check-db-structure +++ b/bin/check-db-structure @@ -43,13 +43,13 @@ mysqldump --skip-lock-tables 'buildmaster' \ 'dependency_types' \ 'email_actions' \ 'fail_reasons' \ - 'git_repositories' \ 'repositories' \ 'repository_moves' \ 'repository_stabilities' \ 'repository_stability_relations' \ 'upstream_repositories' | \ grep '^INSERT ' | \ + tr '\0\1' '01' | \ sed ' s/),(/),\n (/g s/VALUES (/VALUES\n (/g |