[pacman-dev] #10530: checksum verification does not work on BSD

Xavier shiningxc at gmail.com
Mon Jun 2 11:40:11 EDT 2008

On Mon, Jun 2, 2008 at 11:36 AM, Sebastian Nowicki <sebnow at gmail.com> wrote:
> Yes, it does seem like a good solution. I just need to test Dan's fix
> to the spaces problem. As I mentioned on the bug tracker I was unable
> to get makepkg to look for filenames with spaces when using something
> like source=('foo bar'), it instead looks for 'foo' and 'bar'. I have
> no idea why it does this, so I'll look into it, but I have two exams
> this week and then I'll be in the US for a week, so I don't really
> have time to play with it.

Sorry, I don't have time to write a patch, but you just need to add
some quotes for the source array.
Try replacing every line which looks like this :
for netfile in ${source[@]}; do
to this :
for netfile in "${source[@]}"; do

Just do a grep for source[ or something.

More information about the pacman-dev mailing list