Commit 193f651e authored by jehan's avatar jehan

replace md5sum by openssl md5 which is more portable

parent 687351a7
......@@ -10,7 +10,7 @@ if [ ! -d "patterns" ]; then
wget http://www.belledonne-communications.com/downloads/bcg729-patterns.zip
if [ -e bcg729-patterns.zip ]; then
# check file
if [[ `md5sum bcg729-patterns.zip | grep -c 75b4fb8b286485c375c9c326f8b9eb66` -ne 0 ]]; then
if [[ `openssl md5 bcg729-patterns.zip | grep -c 75b4fb8b286485c375c9c326f8b9eb66` -ne 0 ]]; then
# file ok, unzip it
unzip bcg729-patterns.zip
if [[ $? -ne 0 ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment