On Fri, 12 Oct 2001, Darrell May wrote:
> Just noticed that expand-template has 'changed' from 4.1.2 to SME5.
> Previously the command:
>
> /sbin/e-smith/expand-template /etc/cron.d
>
> would happily expand all templates and templates-custom fragments. Now
> this command errors:
>
> [root@sme5 /root]# /sbin/e-smith/expand-template /etc/cron.d
> Could not expand //etc/cron.d - it is a directory
>From the release notes for 4.1.2:
...
3. The expand-template program, which is provided to allow ad-hoc
expansion of templated configuration files, has been enhanced to
retain ownership and permissions of output files.
...
The expand-template program was never intended to recursively expand
templated files within a directory. If it did so at some stage, then that
was a bug - which we have now fixed (apparently).
Thanks
--
Charlie Brady [EMAIL PROTECTED]
Lead Product Developer
Network Server Solutions Group http://www.e-smith.com/
Mitel Networks Corporation http://www.mitel.com/
Phone: +1 (613) 368 4376 or 564 8000 Fax: +1 (613) 564 7739
--
Please report bugs to [EMAIL PROTECTED]
Please mail [EMAIL PROTECTED] (only) to discuss security issues
Support for registered customers and partners to [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Archives by mail and http://www.mail-archive.com/devinfo%40lists.e-smith.org