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

epm: check for -- after options

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