projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c8002b
)
Don't forget to rename the temporary binpkg after it's created.
author
Zac Medico
<zmedico@gentoo.org>
Sat, 9 Jun 2007 04:41:07 +0000
(
04:41
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 9 Jun 2007 04:41:07 +0000
(
04:41
-0000)
svn path=/main/branches/2.1.2/; revision=6774
bin/quickpkg
patch
|
blob
|
history
diff --git
a/bin/quickpkg
b/bin/quickpkg
index dcdf9ea684783f7f37371999567e0d0ebf1e92ba..1cce8c34045a9f475d8d8ed2a6ead5ca063ae36e 100755
(executable)
--- a/
bin/quickpkg
+++ b/
bin/quickpkg
@@
-117,8
+117,10
@@
def quickpkg_main(options, args, eout):
xpak.tbz2(binpkg_tmpfile).recompose_mem(xpdata)
finally:
dblnk.unlockdb()
- bintree.inject(cpv)
binpkg_path = bintree.getname(cpv)
+ ensure_dirs(os.path.dirname(binpkg_path))
+ os.rename(binpkg_tmpfile, binpkg_path)
+ bintree.inject(cpv)
try:
s = os.stat(binpkg_path)
except OSError, e: