FS#15210 - [makepkg] pkgdesc does not get restored properly
Attached to Project:
Pacman
Opened by Allan McRae (Allan) - Monday, 22 June 2009, 03:53 GMT
Last edited by Allan McRae (Allan) - Monday, 27 July 2009, 05:02 GMT
Opened by Allan McRae (Allan) - Monday, 22 June 2009, 03:53 GMT
Last edited by Allan McRae (Allan) - Monday, 27 July 2009, 05:02 GMT
|
Details
Summary and Info:
Reported by Pierre. Using the following PKGBUILD: pkgbase=test pkgname=(test1 test2) pkgdesc="text with spaces" pkgver=1 pkgrel=1 arch=any build () { return 0 } package_test1() { echo $pkgdesc pkgdesc="${pkgdesc} 1" } package_test2() { echo $pkgdesc } This gives test2 pkgdesc="text" and not "text with spaces" as expected. |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 27 July 2009, 05:02 GMT
Reason for closing: Fixed
Additional comments about closing: 597118dd
Monday, 27 July 2009, 05:02 GMT
Reason for closing: Fixed
Additional comments about closing: 597118dd
http://dev.archlinux.org/~allan/gitweb/gitweb.cgi?p=pacman.git;a=commit;h=ac87810e
Another problem is that packages where pkgdesc is only defined in the package_*() functions wont have any description at all. Try the following example:
pkgbase=test
pkgname=(test3 test4)
pkgver=1
pkgrel=1
arch=any
build () {
return 0
}
package_test3() {
pkgdesc="blah 3"
}
package_test4() {
pkgdesc="blah 4"
}
, but the commits are not in chronological order.
Go, go, git-bisect!
http://projects.archlinux.org/?p=pacman.git;a=commit;h=621aa26e
This completely breaks split packages and has some issues with logging. That patch obviously needs more thought so I will revert it for now.