From 4e91b76440bb2874a6eea3878af09dcfbe187c9d Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Fri, 19 Mar 2010 01:15:25 +0000
Subject: [PATCH] Use the js.startup_dir as the location of the downloaded
 file.

---
 exec/wget.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/exec/wget.js b/exec/wget.js
index 85490d0cd9..519be9b8ca 100644
--- a/exec/wget.js
+++ b/exec/wget.js
@@ -1,9 +1,9 @@
-/* $Id: */
+/* $Id$ */
 
 load("http.js");
 
 var url = argv[0];
-var filename=file_getname(url);
+var filename=js.startup_dir + '/' + file_getname(url);
 
 var file = new File(filename);
 
-- 
GitLab