[Pkg-debile-commits] [debile-master] 17/26: Fixed package binary names and deb filenames
Sylvestre Ledru
sylvestre at alioth.debian.org
Tue Aug 20 16:22:38 UTC 2013
This is an automated email from the git hooks/post-receive script.
sylvestre pushed a commit to branch master
in repository debile-master.
commit 4dea1bd5a7e571455576f4a4f5db7f9c9193ed14
Author: Léo Cavaillé <leo at cavaille.net>
Date: Tue Aug 13 23:38:21 2013 +0200
Fixed package binary names and deb filenames
---
lucy/incoming.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lucy/incoming.py b/lucy/incoming.py
index 328cddb..1de58ec 100644
--- a/lucy/incoming.py
+++ b/lucy/incoming.py
@@ -187,11 +187,12 @@ def accept_binary(changes):
for bfile in binaries:
# From the deb filemname, get the package name
- bname = bfile.split('_')[0]
+ bfilename=os.path.basename(bfile)
+ bname = bfilename.split('_')[0]
b = Binary( source=s,
name=bname,
version=changes['version'],
- deb=bfile,
+ deb=bfilename,
arch=arch,
suite=suite,
run=int(s.run))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-debile/debile-master.git
More information about the Pkg-debile-commits
mailing list