fixlang: Use an apprpriate tmpfilename
(We can't write into the rockbox source dir!)
diff --git a/fixlang.php b/fixlang.php
index 1f6de74..39112ba 100644
--- a/fixlang.php
+++ b/fixlang.php
@@ -36,7 +36,7 @@
if (isset($_GET['sendfile']))
header(sprintf("Content-Disposition: attachment; filename=%s-fix-%s.diff", $langname, str_replace('/', '_', implode(',', $cmds))));
$langfile = sprintf("rockbox/apps/lang/%s.lang", $langname);
- $tempname = sprintf('rockbox/apps/lang/%s.lang-fixlang-%s', $langname, uniqid('',$_SERVER['REMOTE_ADDR'].$langname));
+ $tempname = sprintf('/tmp/%s.lang-fixlang-%s', $langname, uniqid('',$_SERVER['REMOTE_ADDR'].$langname));
$lang = parselangfile($langfile);
$english = parselangfile("rockbox/apps/lang/english.lang");