Thursday, March 31, 2016

[389-users] Re: Syntax error in ldap/admin/src/scripts/ns-accountstatus.pl.in

Thank you, Andrey.

I've opened this ticket and attached your patch to it.
https://fedorahosted.org/389/ticket/48783

On 03/31/2016 03:46 AM, Andrey Cherepanov wrote:
Our build system detects syntax error in ldap/admin/src/scripts/ns-accountstatus.pl.in:

String found where operator expected at /usr/src/tmp/389-ds-base-buildroot/usr/sbin/ns-accountstatus.pl line 34, near "STDERR "                    [-i] [-g seconds]\n\n""
          (Do you need to predeclare STDERR?)
syntax error at /usr/src/tmp/389-ds-base-buildroot/usr/sbin/ns-accountstatus.pl line 34, near "print"

See attached patch to fix it.

Small note: ldap/admin/src/scripts/db2index.in use Bash4 syntax construction (|&), but use interpreter /bin/sh
Not all Linux distributives have /bin/sh as symlink to /bin/bash4



--  389 users mailing list  389-users@%(host_name)s  http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org

No comments:

Post a Comment