diff options
| author | Jacob Pipkin <j@dawnrazor.net> | 2012-06-08 02:26:35 -0500 | 
|---|---|---|
| committer | Jacob Pipkin <j@dawnrazor.net> | 2012-06-08 02:26:35 -0500 | 
| commit | d8059a035274381387cefc1a3546da3406f46e6c (patch) | |
| tree | 584467742b7f60a1efe30124732305d111c5434c /sboconfig | |
| parent | 4c72eb008ab3909014dcb1987ccdb8ec3692c85a (diff) | |
| download | sbotools2-d8059a035274381387cefc1a3546da3406f46e6c.tar.xz | |
whole bunch of excess code removed, also got rid of the make_temp_file crap and starting using File::Temp
Diffstat (limited to 'sboconfig')
| -rwxr-xr-x | sboconfig | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -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 | 
