Commit 749001f7 authored by Vitaly Lipatov's avatar Vitaly Lipatov

update estrlist to 0.3 and fix has_space using

parent fea5fd2f
......@@ -600,5 +600,5 @@ get_pkg_name_delimiter()
has_space()
{
estrlist has_space "$@"
estrlist -- has_space "$@"
}
......@@ -287,7 +287,12 @@ esac
shift
# FIXME: do to call function directly, use case instead?
if [ "$1" = "-" ] ; then
if [ "$COMMAND" = "--" ] ; then
# ignore all options (-)
COMMAND="$1"
shift
"$COMMAND" "$@"
elif [ "$1" = "-" ] ; then
shift
"$COMMAND" "$(cat) $@"
elif [ "$2" = "-" ] ; then
......
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