mirror of
https://github.com/psenough/pouet.net.git
synced 2025-01-17 13:18:24 +01:00
Make sure we are in the right folder to put the DDL in the right place
This commit is contained in:
parent
e6d195a627
commit
3dfd7bfbc2
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user