http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8566

Magnus Enger <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29270|0                           |1
        is obsolete|                            |
  Attachment #29273|0                           |1
        is obsolete|                            |

--- Comment #4 from Magnus Enger <[email protected]> ---
Created attachment 29274
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29274&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.

-- 
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/

Reply via email to