Commit 8ba410a5 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

play tricks on us!
parent 14d1da3a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@ chomp($pwd = `pwd`);

# enable memory debugging if curl is compiled with it
$ENV{'CURL_MEMDEBUG'} = 1;
$ENV{'HOME'}=$pwd;

#######################################################################
# Return the pid of the server as found in the given pid file