From: dms 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=ee318e10176aed823981d0f194755218cc27b0a8;p=infobot.git forgot about / in tempDir git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@198 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/core.pl b/src/core.pl index 7a6ce0b..9e4add7 100644 --- a/src/core.pl +++ b/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."); }