Commit c2cfe779 authored by Vitaly Lipatov's avatar Vitaly Lipatov

use has_space from estrlist (works with dash)

parent 02830158
...@@ -629,5 +629,5 @@ get_pkg_name_delimiter() ...@@ -629,5 +629,5 @@ get_pkg_name_delimiter()
has_space() has_space()
{ {
[ "$1" != "${1/ //}" ] estrlist has_space "$@"
} }
#!/bin/sh #!/bin/sh
#. ../bin/epm-sh-functions
has_space() has_space()
{ {
[ "$1" != "${1/ //}" ] ../bin/tools_estrlist has_space "$@"
} }
notok() notok()
...@@ -19,8 +20,11 @@ ok() ...@@ -19,8 +20,11 @@ ok()
notok "list" notok "list"
ok "l i s t" ok "l i s t"
ok "li st"
ok " l i s t " ok " l i s t "
ok " l " ok " l "
ok " " ok " "
ok " " ok " "
notok "" notok ""
notok "http://updates.etersoft.ru/pub/Korinf/x86_64/Ubuntu/20.04/eepm_*.deb"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment