Name : Fix name_simple.
This commit is contained in:
parent
db16b4cb8d
commit
df5e4edde8
|
@ -61,7 +61,7 @@ function name_simple() {
|
|||
[[ "${ext#.}" = "${name}" ]] && ext=""
|
||||
|
||||
# Get new name.
|
||||
local new_name=$(echo "${name}" | parse_simplify)${ext,,}
|
||||
local new_name=$(parse_simplify "${name}")${ext,,}
|
||||
|
||||
# check if same name.
|
||||
[[ "${target}" = "${new_name}" ]] && return 0
|
||||
|
|
Reference in a new issue