On Sat, Mar 19, 2016 at 05:14:59PM +0000, Richard W.M. Jones wrote:
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).
Sorry, ignore that, it's not an error.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org