From 6d828eb156430e1c4ec385c0a069b2876ee1ff17 Mon Sep 17 00:00:00 2001 From: Luke Gorrie Date: Mon, 18 May 2015 17:48:23 +0200 Subject: [PATCH] neutron_sync_master: Include *.sql table definitions Make sure that *.sql table definitions are checked into the repository. --- .../snabbnfv/neutron_sync_master/neutron_sync_master.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh b/src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh index cef0af5a80..3071c26f78 100644 --- a/src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh +++ b/src/program/snabbnfv/neutron_sync_master/neutron_sync_master.sh @@ -51,8 +51,7 @@ function run() mysqldump -n -y -q -u${DB_USER} -p${DB_PASSWORD} -h ${DB_HOST} \ -P ${DB_PORT} -T ${DB_DUMP_PATH} --skip-dump-date \ ${DB_NEUTRON} ${DB_NEUTRON_TABLES} - rm -f *.sql - git add *.txt >/dev/null 2>&1 + git add *.txt *.sql >/dev/null 2>&1 if ! git diff --quiet --cached; then log "Pushing configuration changes." if [ $initial = true ]; then