docs: update

This commit is contained in:
Dylan Araps 2019-09-20 12:17:12 +03:00
parent f1301357da
commit 4202b0dae9
2 changed files with 2 additions and 2 deletions

View File

@ -1105,7 +1105,7 @@ basename() {
tmp=${1%${1##*[!/]}}
tmp=${tmp##*/}
tmp=${tmp%"${2/$tmp}"}
tmp=${tmp%"${2/"$tmp"}"}
printf '%s\n' "${tmp:-/}"
}

View File

@ -44,7 +44,7 @@ basename() {
tmp=${1%${1##*[!/]}}
tmp=${tmp##*/}
tmp=${tmp%"${2/$tmp}"}
tmp=${tmp%"${2/"$tmp"}"}
printf '%s\n' "${tmp:-/}"
}