On Fri, Mar 18, 2016 at 05:18:08PM +0100, Pino Toscano wrote:
> +do_md5 ()
> +{
> + case "$(uname)" in
> + Linux)
> + md5sum "$1" | awk '{print $1}'
> + ;;
> + *)
> + echo "$0: unknown method to calculate MD5 of file on $(uname)"
s/MD5/hash/ (although that error was present in the original file too,
so maybe it should be in a new commit).
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html
_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs