From: dms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Date: Fri, 15 Dec 2000 14:28:38 +0000 (+0000)
Subject: forgot about / in tempDir
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6c16af5c98f9250cc9c1c29f9efad266eb18a7d2;p=infobot.git

forgot about / in tempDir


git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@198 c11ca15a-4712-0410-83d8-924469b57eb5
---

diff --git a/blootbot/src/core.pl b/blootbot/src/core.pl
index 7a6ce0b..9e4add7 100644
--- a/blootbot/src/core.pl
+++ b/blootbot/src/core.pl
@@ -174,7 +174,7 @@ sub setup {
 
     &status("Setup: ". &countKeys("factoids") ." factoids.");
 
-    $param{tempDir} =~ s#\~/#$ENV{HOME}#;
+    $param{tempDir} =~ s#\~/#$ENV{HOME}/#;
 
     &status("Initial memory usage: $memusage kB");
 }
@@ -193,7 +193,7 @@ sub setupConfig {
 	exit 1;
     }
 
-    if ($param{tempDir} =~ s#\~/#$ENV{HOME}#) {
+    if ($param{tempDir} =~ s#\~/#$ENV{HOME}/#) {
 	&status("Fixing up tempDir.");
     }