[Koha-patches] Bug 8566: Enable koha-foreach to insert the instancename into commands

Reed Wade reed at typist.geek.nz
Thu Jun 26 08:43:05 CEST 2014


(I haven't submitted a patch in forever. Let me know if I've missed a step.)

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.

-reed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-patches/attachments/20140626/fb397161/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Bug-8566-Enable-koha-foreach-to-insert-the-instancen.patch
Type: text/x-patch
Size: 1827 bytes
Desc: not available
URL: <http://lists.koha-community.org/pipermail/koha-patches/attachments/20140626/fb397161/attachment.bin>


More information about the Koha-patches mailing list