aboutsummaryrefslogtreecommitdiff
path: root/sboconfig
diff options
context:
space:
mode:
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