]> mj.ucw.cz Git - pciids.git/commitdiff
Fix paths in mailbot
authorMichal Vaner <vorner@ucw.cz>
Tue, 7 Oct 2008 08:24:34 +0000 (10:24 +0200)
committerMichal Vaner <vorner@ucw.cz>
Tue, 7 Oct 2008 08:24:34 +0000 (10:24 +0200)
scripts/mailbot

index e6af26d91cad7083098fc6def6ced59ee187bd14..16234daba05a703f4a3df2e486a62846b1238393 100755 (executable)
@@ -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");