#1074 and #1057 Fixing build breakers on Cygwin and msvc MinGW to be further investigaged. add checkSum to test functions
This commit is contained in:
@@ -414,6 +414,14 @@ copyVideoFiles ()
|
||||
popd 2>/dev/null >/dev/null
|
||||
}
|
||||
|
||||
##
|
||||
# print checksum for one file
|
||||
checkSum()
|
||||
{
|
||||
# cygwin checksum: http://esrg.sourceforge.net/utils_win_up/md5sum/
|
||||
md5 $1 | cut -d= -f 2 | sed -E -e 's/ //g' | cut '-d(' -f 1
|
||||
}
|
||||
|
||||
##
|
||||
# prepare temp files and other variables
|
||||
prepareTest()
|
||||
|
||||
Reference in New Issue
Block a user