Commit 5b1295a6 authored by Archit Tamarapu's avatar Archit Tamarapu
Browse files

[fix] update wildcard expression to match FOA/HOA produced for MASA tests in addition to catXX

parent 202eb431
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@ param(
    [String]$out_file
)

(Get-FileHash .\cat?\c*\*.wav -Algorithm MD5 | Out-String -Width 9999) |
(Get-FileHash .\[cFH][aO][tA]*\c*\*.wav -Algorithm MD5 | Out-String -Width 9999) |
ForEach-Object { $_.replace( -join ((Get-Location) , "\"), ".\") } |
ForEach-Object { $_ -replace (" ", "") } |
Out-File -Encoding utf8 $out_file
 No newline at end of file
+2 −2
Original line number Diff line number Diff line
@@ -44,9 +44,9 @@ echo "AlgorithmHashPath" >>$1
echo "-----------------" >>$1

if [ "$system" = "Darwin" ]; then
    md5 -r cat?/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1
    md5 -r [cFH][aO][tA]*/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1
else
    md5sum cat?/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1
    md5sum [cFH][aO][tA]*/c??/*.wav | awk '{print "MD5"toupper($1)".\\"$2 }' | tr -s '/' '\\' >>$1
fi

echo "" >>$1