Get Darwin to use md5 (and not the locally compiled coreutils/md5sum).

v0.27.3
clanmills 5 years ago
parent 1085e0b58f
commit b2be8e7c0c

@ -426,8 +426,7 @@ copyVideoFiles ()
# print checksum for one file
checkSum()
{
platform=$(uname)
if [ "$platform" == 'NetBSD' -o "$platform" == 'FreeBSD' -o "$platform" == 'Darwin' ]; then
if [ "$PLATFORM" == 'NetBSD' -o "$PLATFORM" == 'FreeBSD' -o "$PLATFORM" == 'Darwin' ]; then
md5 -q $1
else
md5sum $1 | cut -d' ' -f 1
@ -460,7 +459,7 @@ startHttpServer() {
}
##
# closeHttpServer - power down the python web server
# cloaseHttpServer - power down the python web server
closeHttpServer() {
if [ ! -z $exiv2_httpServer ]; then
echo kill exiv2_httpServer $exiv2_httpServer

Loading…
Cancel
Save