transcode : always output in the current dir.
This commit is contained in:
parent
141fb1c0de
commit
572f1550eb
|
@ -30,9 +30,8 @@ transcode()
|
||||||
# Define context names and status.
|
# Define context names and status.
|
||||||
local from="${target##*.}"
|
local from="${target##*.}"
|
||||||
local to="${format}"
|
local to="${format}"
|
||||||
local output="${target#../}"
|
local output="${target##*/}"
|
||||||
output="${output%.*}"
|
output="${output%.*}.${to}"
|
||||||
output="${output}.${to}"
|
|
||||||
local status="[${count}/${total}] ${target} -> ${output}"
|
local status="[${count}/${total}] ${target} -> ${output}"
|
||||||
|
|
||||||
# Show status.
|
# Show status.
|
||||||
|
|
Reference in a new issue