aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleEditorController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-06-28 23:23:34 +0000
committerrowanbeentje <rowan@beent.je>2012-06-28 23:23:34 +0000
commitac7800cfb9b47acbfd6b7fcca9f981d3f1e70808 (patch)
treea9ecc8347d7fa93f9c1f4f03ccbcc220b4084a6d /Source/SPBundleEditorController.m
parent9bbbbc64e09039d6da3e8b274a771032005c8320 (diff)
downloadsequelpro-ac7800cfb9b47acbfd6b7fcca9f981d3f1e70808.tar.gz
sequelpro-ac7800cfb9b47acbfd6b7fcca9f981d3f1e70808.tar.bz2
sequelpro-ac7800cfb9b47acbfd6b7fcca9f981d3f1e70808.zip
- Use a per-user temporary directory for SSH tunnels (and bundle dragged temporary files)
Diffstat (limited to 'Source/SPBundleEditorController.m')
-rw-r--r--Source/SPBundleEditorController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m
index 4be98c40..1075abb0 100644
--- a/Source/SPBundleEditorController.m
+++ b/Source/SPBundleEditorController.m
@@ -1546,7 +1546,7 @@
NSString *bundleFileName = [bundleDict objectForKey:kBundleNameKey];
NSString *possibleExisitingBundleFilePath = [NSString stringWithFormat:@"%@/%@.%@", bundlePath, bundleFileName, SPUserBundleFileExtension];
- draggedFilePath = [[NSString stringWithFormat:@"/tmp/%@.%@", bundleFileName, SPUserBundleFileExtension] retain];
+ draggedFilePath = [[NSString stringWithFormat:@"%@/%@.%@", [NSFileManager temporaryDirectory], bundleFileName, SPUserBundleFileExtension] retain];
BOOL isDir;