Fix error with certain db names
Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
parent
0829bfc708
commit
478524b2bd
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue