diff --git a/buildout/software-profiles/tesseract.cfg b/buildout/software-profiles/tesseract.cfg index 5d3f0644f551733264627e14cae925b20c1fb497..597c53d51968f02d65f53598c85a69243a2bcc80 100644 --- a/buildout/software-profiles/tesseract.cfg +++ b/buildout/software-profiles/tesseract.cfg @@ -17,6 +17,6 @@ md5sum = d91041ad156cf2db36664e91ef799451 [tesseract-eng-traineddata-unzip] recipe = plone.recipe.command -command = gunzip parts/tesseract-eng-traineddata/eng.traineddata.gz -c > parts/tesseract/share/tessdata/eng.traineddata +command = gunzip ${tesseract-eng-traineddata:location}/eng.traineddata.gz -c > ${tesseract:location}/share/tessdata/eng.traineddata update-command = ${:command} stop-on-error = yes