Commit 0caa7911 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: check for -- after options

parent f136d576
......@@ -303,9 +303,13 @@ check_filenames()
quoted_args="$quoted_args \"$opt\""
}
FLAGENDOPTS=
for opt in "$@" ; do
check_command $opt && continue
check_option $opt && continue
[ "$opt" = "--" ] && FLAGENDOPTS=1 && continue
if [ -z "$FLAGENDOPTS" ] ; then
check_command $opt && continue
check_option $opt && continue
fi
check_filenames $opt
done
......
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