Skip to content
Snippets Groups Projects
Commit ceeaedc7 authored by Toke Eskildsen's avatar Toke Eskildsen
Browse files

Related to #31: Shows progress for image pages, but not image processing

parent fbc11d44
No related branches found
No related tags found
No related merge requests found
......@@ -698,8 +698,9 @@ function makePreviewPage() {
if [ "true" != "$FORCE_PAGES" -a -e "$P" ]; then
return
fi
echo " - ${P##*/}"
***
TOTAL_PROCESSED=$((TOTAL_PROCESSED))
echo " - ${P##*/} (${TOTAL_PROCESSED}/${TOTAL_IMAGES})"
local ALTO_FILE="${BASE}${ALTO_EXT}"
processALTO "$SRC_FOLDER" "$DEST_FOLDER" "$ALTO_FILE" $IMAGE_WIDTH $IMAGE_HEIGHT
......@@ -953,6 +954,10 @@ function makeIndex() {
echo "Quack starting at `date`"
copyFiles
pushd "$SOURCE" > /dev/null
TOTAL_IMAGES=`ls -R $IMAGE_GLOB 2> /dev/null | wc -l`
TOTAL_PROCESSED=0
popd > /dev/null
makeIndex "" "" "$SOURCE" "$DEST"
echo "All done at `date`"
echo "Please open ${DEST}/index.html in a browser"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment