From: Michal Vaner Date: Tue, 7 Oct 2008 08:24:34 +0000 (+0200) Subject: Fix paths in mailbot X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=0ed468d85a76a19a1c92a71c244c59b33450a841;p=pciids.git Fix paths in mailbot --- diff --git a/scripts/mailbot b/scripts/mailbot index e6af26d..16234da 100755 --- a/scripts/mailbot +++ b/scripts/mailbot @@ -114,9 +114,9 @@ if (!$patch) { $author = $reply_plain; } -$tprefix = "tmp/mbot-$$"; +$tprefix = "~/tmp/mbot-$$"; $home = "~/"; -mkdir("tmp", 0777); +mkdir("~/tmp", 0777); mkdir($tprefix, 0777) || error("Cannot create tmpdir"); chdir($tprefix) || error("Cannot chdir to tmpdir");