aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Hasenack <andreas@mandriva.com>2006-07-18 14:18:20 +0000
committerAndreas Hasenack <andreas@mandriva.com>2006-07-18 14:18:20 +0000
commit15fda435aecb9cd96bd3ffd885315685b2d5753a (patch)
tree31268509558ecb7c44e9e9d673c11ed8aa6b0c41
parent14b375292a8a6595a10b24b61fb69e795664ae76 (diff)
downloadmgarepo-15fda435aecb9cd96bd3ffd885315685b2d5753a.tar
mgarepo-15fda435aecb9cd96bd3ffd885315685b2d5753a.tar.gz
mgarepo-15fda435aecb9cd96bd3ffd885315685b2d5753a.tar.bz2
mgarepo-15fda435aecb9cd96bd3ffd885315685b2d5753a.tar.xz
mgarepo-15fda435aecb9cd96bd3ffd885315685b2d5753a.zip
- make get_srpm display the extracted .src.rpm (path + filename)
(pixel)
-rw-r--r--RepSys/rpmutil.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/RepSys/rpmutil.py b/RepSys/rpmutil.py
index c276ef3..c69f587 100644
--- a/RepSys/rpmutil.py
+++ b/RepSys/rpmutil.py
@@ -86,6 +86,8 @@ def get_srpm(pkgdirurl,
if not targetdirs:
targetdirs = (".",)
for targetdir in targetdirs:
+ sys.stderr.write("Wrote: %s\n" %
+ os.path.join(os.path.realpath(targetdir), os.path.basename(srpm)))
execcmd("cp -f", srpm, targetdir)
os.unlink(srpm)
finally: