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()
has_space()
{
[ "$1" != "${1/ //}" ]
estrlist has_space "$@"
}
#!/bin/sh
#. ../bin/epm-sh-functions
has_space()
{
[ "$1" != "${1/ //}" ]
../bin/tools_estrlist has_space "$@"
}
notok()
......@@ -19,8 +20,11 @@ ok()
notok "list"
ok "l i s t"
ok "li st"
ok " l i s t "
ok " l "
ok " "
ok " "
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