1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #4154 from mplonka/AIX_MD5

using AIX 'csum' command for generating MD5 checksums
This commit is contained in:
Michael DeHaan 2013-09-23 08:27:12 -07:00
commit 319a0f9523

View file

@ -737,7 +737,8 @@ class Runner(object):
"(/usr/bin/digest -a md5 %s 2>/dev/null)" % path, # Solaris 10+ "(/usr/bin/digest -a md5 %s 2>/dev/null)" % path, # Solaris 10+
"(/sbin/md5 -q %s 2>/dev/null)" % path, # Freebsd "(/sbin/md5 -q %s 2>/dev/null)" % path, # Freebsd
"(/usr/bin/md5 -n %s 2>/dev/null)" % path, # Netbsd "(/usr/bin/md5 -n %s 2>/dev/null)" % path, # Netbsd
"(/bin/md5 -q %s 2>/dev/null)" % path # Openbsd "(/bin/md5 -q %s 2>/dev/null)" % path, # Openbsd
"(/usr/bin/csum -h MD5 %s 2>/dev/null)" % path # AIX
] ]
cmd = " || ".join(md5s) cmd = " || ".join(md5s)