summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-09 13:56:44 +0200
committerErich Eckner <git@eckner.net>2018-05-09 13:56:44 +0200
commit2a7cc8a65a30c92ddd42d2ea33d324f41319fbe7 (patch)
tree353b2df4ad37d3e5811ecf7161395fa1d59cc0b2 /bin
parent149b3599260956de3c9f0d75def8741bbe7c66ca (diff)
downloadbuilder-2a7cc8a65a30c92ddd42d2ea33d324f41319fbe7.tar.xz
bin/check-db-structure: correctly escape \1
Diffstat (limited to 'bin')
-rwxr-xr-xbin/check-db-structure2
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