Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#22217 - get_filename function in makepkg has a bug.
Attached to Project:
Arch Linux
Opened by zhangning (zhangn1985) - Sunday, 26 December 2010, 05:41 GMT
Last edited by Allan McRae (Allan) - Sunday, 26 December 2010, 06:32 GMT
Opened by zhangning (zhangn1985) - Sunday, 26 December 2010, 05:41 GMT
Last edited by Allan McRae (Allan) - Sunday, 26 December 2010, 06:32 GMT
|
DetailsDescription:
get_filename function can replace pkgver to its value. and i don't know why only me meet this problem. I read PKGBUILDs for other packages, they work fine. I think this is a bug. Additional info: * package version(s): newest * config and/or log files etc. https://bbs.archlinux.org/viewtopic.php?pid=870422#p870422 Steps to reproduce: follow link above. fix suggestion: add one more eval to get_filename function. like this: get_filename() { # if a filename is specified, use it local filename="${1%%::*}" # if it is just an URL, we only keep the last component eval echo "${filename##*/}" } ----- I don't know if the fix is ok to everyone or no bugs. it's a solution to me. |
This task depends upon
there should be better solution.