aboutsummaryrefslogtreecommitdiff
path: root/sboconfig
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-06-08 02:26:35 -0500
committerJacob Pipkin <j@dawnrazor.net>2012-06-08 02:26:35 -0500
commitd8059a035274381387cefc1a3546da3406f46e6c (patch)
tree584467742b7f60a1efe30124732305d111c5434c /sboconfig
parent4c72eb008ab3909014dcb1987ccdb8ec3692c85a (diff)
downloadsbotools2-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-xsboconfig2
1 files changed, 1 insertions, 1 deletions
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