set the HOME variable to the current dir, to prevent any real ~/.curlrc to

play tricks on us!
This commit is contained in:
Daniel Stenberg 2002-04-09 14:28:16 +00:00
parent 14d1da3ae0
commit 8ba410a56e

View File

@ -76,6 +76,7 @@ chomp($pwd = `pwd`);
# enable memory debugging if curl is compiled with it # enable memory debugging if curl is compiled with it
$ENV{'CURL_MEMDEBUG'} = 1; $ENV{'CURL_MEMDEBUG'} = 1;
$ENV{'HOME'}=$pwd;
####################################################################### #######################################################################
# Return the pid of the server as found in the given pid file # Return the pid of the server as found in the given pid file