name : fix name_hash progress.
This commit is contained in:
parent
73f8b71d24
commit
9070f06e17
|
@ -93,7 +93,7 @@ name_hash()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# hash the new name.
|
# hash the new name.
|
||||||
local hash=$(sha1sum -- "${target}" | cut -d\ -f1)
|
local hash=$(pv "${target}" | sha1sum | cut -d\ -f1)
|
||||||
new_name="${hash,,}${extension,,}"
|
new_name="${hash,,}${extension,,}"
|
||||||
|
|
||||||
# prepare status.
|
# prepare status.
|
||||||
|
|
Reference in a new issue