Make sure we are in the right folder to put the DDL in the right place

This commit is contained in:
Laurent Raufaste 2013-05-11 23:22:41 -04:00
parent e6d195a627
commit 3dfd7bfbc2

View File

@ -4,6 +4,13 @@
# Needed by sed to not throw out some warnings
LANG=C
# Make sure we are in the good folder
if [ ! -f COPYING ]
then
echo "Launch me in the root folder"
exit 1
fi
echo "Dumping the current DDL..."
ssh pouet mysqldump --skip-lock-tables \
--no-data \