[Ovirt-devel] [PATCH node-image] edit-livecd: add -o OUTPUT.iso option, required

Jim Meyering jim at meyering.net
Wed Dec 3 14:20:45 UTC 2008


Perry Myers <pmyers at redhat.com> wrote:

> Jim Meyering wrote:
>> The new -o OUTPUT.iso option is now required.
>>
>> Allow the '-p CODE' option to  specify bourne shell code, not just
>> a file/script.  This permits a common idiom: to avoid writing a
>> separate shell script for a simple task, and instead include a
>> quoted multi-line snippet in the invoking script, e.g.,
>
> Question...  Can you still pass a non bash script to -p like a python
> or ruby script?  The reason why I left the script option as an
> arbitrary executable' instead of specifying bash was that I thought it
> would be useful for more complex operations for someone to use python
> instead of bash.

Sure.  "CODE" is eval'd as if by "bash -c "CODE",
so a python or ruby script name would work fine, too.




More information about the ovirt-devel mailing list