]> git.donarmstrong.com Git - infobot.git/commitdiff
forgot about / in tempDir
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 15 Dec 2000 14:28:38 +0000 (14:28 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Fri, 15 Dec 2000 14:28:38 +0000 (14:28 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@198 c11ca15a-4712-0410-83d8-924469b57eb5

blootbot/src/core.pl

index 7a6ce0b58ae062d3456c00af0d941f216b119f98..9e4add76a6cafb2cb6b2013db5421a70553e3aeb 100644 (file)
@@ -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.");
     }