From: Matthijs Kooijman Date: Mon, 5 Jan 2009 15:11:23 +0000 (+0100) Subject: mysql: Create directories on the host. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=ddb2700436a102cdc7102fb1ec8cab7176a527d1;p=matthijs%2Fupstream%2Fbackupninja.git mysql: Create directories on the host. The previous commit broke the directory creation: It was prefixed with $vroot and also executed inside the vserver. --- diff --git a/handlers/mysql.in b/handlers/mysql.in index f79a0b2..316c109 100644 --- a/handlers/mysql.in +++ b/handlers/mysql.in @@ -66,8 +66,8 @@ fi hotdir="$backupdir/hotcopy" dumpdir="$backupdir/sqldump" -[ "$sqldump" == "no" -o -d $vroot$dumpdir ] || $vexec mkdir -p $vroot$dumpdir -[ "$hotcopy" == "no" -o -d $vroot$hotdir ] || $vexec mkdir -p $vroot$hotdir +[ "$sqldump" == "no" -o -d $vroot$dumpdir ] || mkdir -p $vroot$dumpdir +[ "$hotcopy" == "no" -o -d $vroot$hotdir ] || mkdir -p $vroot$hotdir ####################################################################### ## AUTHENTICATION