http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8566
Robin Sheat <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #29274|0 |1 is obsolete| | --- Comment #5 from Robin Sheat <[email protected]> --- Created attachment 29309 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29309&action=edit Bug 8566: [SIGNED-OFF] Enable koha-foreach to insert the instancename into commands koha-foreach has been modified to replace __instancename__ with $name on each iteration using sed. The docbook file for koha-foreach has also been updated to reflect the new functionality. To test: koha-foreach ls -ld /etc/koha/sites/__instancename__ should list directories instead of giving an error message. Signed-off-by: Magnus Enger <[email protected]> The suggested example with ls works as expected, as does my more complex example with fines.pl: koha-foreach --enabled /usr/share/koha/bin/cronjobs/fines.pl \ --out /var/log/koha/__instancename__/ The man page looks good too. Signed-off-by: Robin Sheat <[email protected]> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
