Re: [pacman-dev] Splitting packages in makepkg
17 Jun
2008
17 Jun
'08
9:35 p.m.
On Tue, Jun 17, 2008 at 10:20:59PM +1000, Allan McRae <mcrae_allan@hotmail.com> wrote:
Just another thought. Why do we even need the subpkg array. Why not: "pkgname=foo" for single packages and "pkgname=('foo' 'foo-bar' 'foo-doc')" for split packages? I would have to check that you can do that in bash...
pkgname=("foo") is equivalent to pkgname="foo" in bash, at least ${pkgname[0]} will work for both, ${#pkgname[@]} will report 1 for both, etc.
6123
Age (days ago)
6123
Last active (days ago)
0 comments
1 participants
participants (1)
-
Miklos Vajna