name : fix name_hash progress.

This commit is contained in:
Dmitry Voronin 2023-11-28 01:55:36 +03:00
parent 73f8b71d24
commit 9070f06e17

View file

@ -93,7 +93,7 @@ name_hash()
fi
# hash the new name.
local hash=$(sha1sum -- "${target}" | cut -d\ -f1)
local hash=$(pv "${target}" | sha1sum | cut -d\ -f1)
new_name="${hash,,}${extension,,}"
# prepare status.