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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 26 08:43:29 CEST 2014


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

Reed Wade <reed at typist.geek.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reed at typist.geek.nz

--- Comment #1 from Reed Wade <reed at typist.geek.nz> ---
Created attachment 29270
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29270&action=edit
patch for feature update



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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list