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