forked from kiss-community/kiss
kiss: nit
This commit is contained in:
parent
70bd51f46b
commit
d21b33742d
15
kiss
15
kiss
@ -1717,17 +1717,16 @@ pkg_help_ext() {
|
||||
#
|
||||
# This also removes any duplicates found in '$PATH', picking the
|
||||
# first match.
|
||||
for path do p=${path#*/kiss-}
|
||||
case " $seen " in
|
||||
*" $p "*)
|
||||
shift
|
||||
;;
|
||||
for path do
|
||||
p=${path#*/kiss-}
|
||||
|
||||
case " $seen " in *" $p "*)
|
||||
shift
|
||||
continue
|
||||
esac
|
||||
|
||||
*)
|
||||
seen=" $seen $p "
|
||||
max=$((${#p} > max ? ${#p}+1 : max))
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
IFS=\#$IFS
|
||||
|
Loading…
Reference in New Issue
Block a user