On Sunday 27 January 2008 18:29:56 Enrico Weigelt wrote:
> Why not an universal wrapper script ?
>
> maybe something like:
>
>     magic-uncompress [-t <format>] [-c] [-o <output>] <input>
>    
> This script could try to find out the input format automatically
> (the optional -t parameter allows to explicitly specifiy the format)
>
> Once we have this script, ebuilds could be rewritten step by step
> and no one (else than magic-uncompress) has to care about the actual
> commands behind.
>
> Some could be done w/ tar and zip, etc.

You've just reinvented unpack(). It's been a part of portage for ages and is 
used in just about every ebuild in the tree...

-- 
Bo Andresen

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to