---
util/koji-shadow | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/koji-shadow b/util/koji-shadow
index 3b62776..ce88a63 100755
--- a/util/koji-shadow
+++ b/util/koji-shadow
@@ -436,7 +436,7 @@ class TrackedBuild(object):
print "Downloading %s" % url
#XXX - this is not really the right place for this
fsrc = urllib2.urlopen(url)
- fn = "/tmp/koji-shadow/%s.src.rpm" % self.nvr
+ fn = "%s/%s.src.rpm" % (options.workpath, self.nvr)
koji.ensuredir(os.path.dirname(fn))
fdst = file(fn, 'w')
shutil.copyfileobj(fsrc, fdst)
--
2.4.3
Show replies by date
---
util/koji-shadow | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/koji-shadow b/util/koji-shadow
index ce88a63..00abfba 100755
--- a/util/koji-shadow
+++ b/util/koji-shadow
@@ -116,7 +116,7 @@ def get_options():
help=_("use 'import --link' functionality"))
parser.add_option("--remote-topurl",
help=_("topurl for remote server"))
- parser.add_option("--workpath", default="/tmp/koji-shadow",
+ parser.add_option("--workpath", default="/var/tmp/koji-shadow",
help=_("location to store work files"))
parser.add_option("--auth-cert",
help=_("Certificate for authentication"))
--
2.4.3