Commit c8822efe authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix for use package name list in quotes

parent cf871bc0
......@@ -302,7 +302,8 @@ check_option()
check_filenames()
{
local opt="$1"
local opt
for opt in $* ; do
# files can be with full path or have extension via .
if [ -f "$opt" ] && echo "$opt" | grep -q "[/\.]" ; then
pkg_files="$pkg_files $opt"
......@@ -310,6 +311,7 @@ check_filenames()
pkg_names="$pkg_names $opt"
fi
quoted_args="$quoted_args \"$opt\""
done
}
FLAGENDOPTS=
......@@ -319,6 +321,7 @@ for opt in "$@" ; do
check_command $opt && continue
check_option $opt && continue
fi
# Note: will parse all params separately (no package names with spaces!)
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