Summary: | epm doesnt handle files which has spaces in file its name | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | roma1390 |
Component: | New packages | Assignee: | Aron Griffis (RETIRED) <agriffis> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | mr_bones_ |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch to handle whitespace in filenames
fixed patch to properly deal with symlinks |
Description
roma1390
2004-03-27 13:55:37 UTC
patch for md5sum: --- /usr/bin/epm 2004-03-21 19:15:33.000000000 +0200 +++ /tmp/epm 2004-03-27 23:46:22.000000000 +0200 @@ -381,7 +381,7 @@ next; } if (-r _) { - ($md5 = `md5sum $Cname`) =~ s/\s.*//s; + ($md5 = `md5sum "$Cname"`) =~ s/\s.*//s; } else { $md5 = 'UNKNOWN'; btw: epm -qi epm Name : epm Version : 0.8.5 Release : Slot: 0 Install date: Sun Mar 21 19:15:33 2004 Build Host: i686-pc-linux-gnu Group : app-portage License: GPL-2 Size : 27796 Packager : agriffis URL : http://www.gentoo.org/~agriffis/epm/ Description : rpm workalike for Gentoo Linux Fixed in 0.8.6, in portage now. Thanks. thanks, but all bugs fixed: epm -ql doen't fixed: # epm -ql divx4linux /usr/lib/libdivxencore.so /usr/lib/libdivxdecore.so /usr/lib/libdivxencore.so.0 /usr/lib/libdivxdecore.so.0 /usr/share/doc/divx4linux-20030428-r1/html/DivX /usr/include/encore2.h /usr/include/portab.h /usr/include/decore.h # epm -qi epm Name : epm Version : 0.8.6 Release : Slot: 0 Install date: Tue Mar 30 07:37:02 2004 Build Host: i686-pc-linux-gnu Group : app-portage License: GPL-2 Size : 28024 Packager : agriffis URL : http://www.gentoo.org/~agriffis/epm/ Description : rpm workalike for Gentoo Linux Created attachment 28349 [details, diff]
patch to handle whitespace in filenames
Maybe I'm missing something but this patch seems to work for me. The "work"
at the end of the query function seems like overkill to me.
Created attachment 28357 [details, diff]
fixed patch to properly deal with symlinks
Doh! I did miss something.
Does it count if I fixed it before anyone else noticed? ;-)
Thanks Michael, I added this in 0.8.7 Thanks a lot. It's great job. Closing |