Fix error with certain db names

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2020-08-26 10:24:53 +00:00
parent 0829bfc708
commit 478524b2bd

View file

@ -43,5 +43,5 @@ case $key in
esac
done
psql --dbname="postgres" -c "DROP DATABASE IF EXISTS $database"
psql --dbname="postgres" -c "DROP DATABASE IF EXISTS \"$database\""
sed -ri "s/^$key$//" .databases