anskaffelser / vefa-validator

Generic validator as a Java library originally created for use within eProcurement.
17 stars 17 forks source link

build-ubl-2.X.sh : add quote to unzip #42

Closed hasorli closed 5 years ago

hasorli commented 7 years ago

Please make sure these boxes are checked before submitting your issue - thank you!

Your issue here:

build-ubl-2.0.sh : run with errors

From man unzip: "be sure to quote expressions that would otherwise be expanded"

Fix: unzip -q ubl-2.0-source.zip 'os-UBL-2.0/xsdrt/*' -d target

As a side note: I can not find a reliable source to check the md5 result.

$ md5 ubl-2.0-source.zip MD5 (ubl-2.0-source.zip) = e5f8371423685f23ea02dc4e71e3382c

is it correct?