From d8059a035274381387cefc1a3546da3406f46e6c Mon Sep 17 00:00:00 2001 From: Jacob Pipkin Date: Fri, 8 Jun 2012 02:26:35 -0500 Subject: whole bunch of excess code removed, also got rid of the make_temp_file crap and starting using File::Temp --- sboconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sboconfig') diff --git a/sboconfig b/sboconfig index 231d6ee..e9a2ff6 100755 --- a/sboconfig +++ b/sboconfig @@ -86,7 +86,7 @@ sub config_write { mkdir ($conf_dir) or die "Unable to create $conf_dir. Exiting.\n"; } if (-f $conf_file) { - my ($fh, $filename) = make_temp_file (); + my ($fh, $filename) = tempfile (DIR => $SBO::Lib::tempdir); close $fh; copy ($conf_file, $filename); # tie the file so that if $key is already there, we just change that -- cgit v1.2.3