Re: Re: Bug#808924: pgadmin3 uses deprecated find -perm +xxx syntax, please switch to find -perm /+++

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Re: Bug#808924: pgadmin3 uses deprecated find -perm +xxx syntax, please switch to find -perm /+++
Дата
Msg-id CA+OCxozqu9ht5Ov9NSeSE+8yHt8cRKRy=TAfpe53aRhF_dF35A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Bug#808924: pgadmin3 uses deprecated find -perm +xxx syntax, please switch to find -perm /+++  (Christoph Berg <myon@debian.org>)
Список pgadmin-support
On Tue, Dec 29, 2015 at 6:01 PM, Christoph Berg <myon@debian.org> wrote:
> Control: tags -1 upstream
>
> Re: Andreas Metzler 2015-12-24 <20151224122927.GI1203@argenau.bebt.de>
>> Hello,
>>
>> the pgadmin3 package uses find -perm +xxx. This GNU extension
>> syntax is deprecated and does not work in GNU findutils 4.5.11 and
>> later. Please change to find -perm /xxx instead.
>>
>> The new syntax was introduced in 4.2.25 (October 2005) and should
>> therefore be available on any relevant system.
>>
>> --------------
>>     pgadmin3_1.20.0-3/pkg/mac/complete-bundle.sh
>>
>>         #We skip nested apps here - those are treated specially
>>       todo=$(file `find ./ -perm +0111 ! -type d ! -path "*.app/*" ! -name "*.app"` | grep -E "Mach-O (i386
)?executable"| awk -F ':| ' '{ORS=" "; print $1}' | uniq)
 
>>       echo "App: $tag: Found executables: $todo"
>>
>>     PathRank: 1.3797463, Final: 1.4480438
>> --------------
>>
>> cu Andreas
>
> Hi Andreas,
>
> thanks for the report, I'm Cc'ing the PgAdmin upstream maintainers to
> make them aware of the issue.
>
> For Debian, I'm simply closing the bug because the deprecated syntax
> is only used in mac build scripts which are not relevant on Linux.

The syntax currently used is exactly what is documented for BSD find
used on Mac OS X. As Christoph points out, this script is only used on
OS X, so GNU find syntax isn't relevant here.

-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



В списке pgadmin-support по дате отправления:

Предыдущее
От: Neel Patel
Дата:
Сообщение: Re: restore bug of pgadminIII 1.20.0
Следующее
От: Neel Patel
Дата:
Сообщение: Re: restore bug of pgadminIII 1.20.0