Hello! For the second time I've tripped onto this banana peel. :) I had 2 sieve files in a directory that I wanted to compile: sievec *.sieve The result of this is that first.sieve is compiled into second.sieve instead of first.svbin, thus destroying the source of second.sieve. Please consider this a bug report. :) Good luck, Reio
> On 5 Nov 2019, at 9.53, Reio Remma via dovecot <dovecot at dovecot.org> wrote: > > Hello! > > For the second time I've tripped onto this banana peel. :) > > I had 2 sieve files in a directory that I wanted to compile: > > sievec *.sieve > > The result of this is that first.sieve is compiled into second.sieve instead of first.svbin, thus destroying the source of second.sieve. > > Please consider this a bug report. :)Not a bug. Works as documented: # sievec Usage: sievec [-c <config-file>] [-d] [-D] [-P <plugin>] [-x <extensions>] <script-file> [<out-file>] sievec(root): Fatal: Missing <script-file> argument if you want to compile all sieve scripts in a single directory just give that directory as parameter and don't let your shell to expand the wildcard. Sami -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20191105/867e90e5/attachment.html>
On 05/11/2019 10:03, Sami Ketola via dovecot wrote:> > >> On 5 Nov 2019, at 9.53, Reio Remma via dovecot <dovecot at dovecot.org >> <mailto:dovecot at dovecot.org>> wrote: >> >> Hello! >> >> For the second time I've tripped onto this banana peel. :) >> >> I had 2 sieve files in a directory that I wanted to compile: >> >> sievec *.sieve >> >> The result of this is that first.sieve is compiled into second.sieve >> instead of first.svbin, thus destroying the source of second.sieve. >> >> Please consider this a bug report. :) > > > Not a bug. Works as documented: > > # sievec > Usage: sievec? [-c <config-file>] [-d] [-D] [-P <plugin>] [-x > <extensions>] > ? ? ? ? ? ? ? <script-file> [<out-file>] > sievec(root): Fatal: Missing <script-file> argument > > if you want to compile all sieve scripts in a single directory just > give that directory as parameter and don't let your shell to expand > the wildcard. > > SamiVery well, although unfortunate and counterintuitive. :) Reio -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20191105/bfc3473f/attachment.html>