Re: [Pkgutil-users] A "`" in system() invocations
Status: Beta
Brought to you by:
bonivart
|
From: Bartosz T. <hr...@gm...> - 2009-12-03 14:17:57
|
2009/12/3 Peter Bonivart <bon...@op...>:
> On Thu, Dec 3, 2009 at 1:38 PM, Bartosz Trudnowski <hr...@gm...> wrote:
>> Hi
>>
>> I'm using version 1.9 of pkgutil. I wonder, if the "`" character in line 593:
>>
>> system("$pkgadd $pkgforce $pkgtrace $pkgaddopts -d $pkgdir/$file $name`");
>>
>> and line 1408:
>>
>> system("$pkgrm $pkgforce $pkgtrace $p`");
>>
>> is kind of a perl magic (I'm not good at perl), or just a bug...
>> It seems, that /bin/sh launched by system() will complain about unmatched "`".
>
> It's a bug, I think it comes from me using backticks earlier and then
> switching to system calls, I thought I had gotten rid of it. It has
> never affected the functionality for me, that's why I haven't noticed
> it earlier.
>
> Are you having problems with pkgutil because of this? I want to know
> if I need to release a fixed package or if it can wait for the next
> normal release.
Thanks for quick reply :) Yes, I had problems with upgrades and had to fix
pkgutil manually on affected host. Please, release a bugfix - I have many
systems to maintain.
Bartek
|