Commit abf5fa42 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm: check real file detection

parent dc6305bf
...@@ -297,7 +297,8 @@ check_option() ...@@ -297,7 +297,8 @@ check_option()
check_filenames() check_filenames()
{ {
local opt="$1" local opt="$1"
if [ -f "$opt" ] && echo $opt | grep -q "\." ; then # files can be with full path or have extension via .
if [ -f "$opt" ] && echo "$opt" | grep -q "[/\.]" ; then
pkg_files="$pkg_files $opt" pkg_files="$pkg_files $opt"
else else
pkg_names="$pkg_names $opt" pkg_names="$pkg_names $opt"
......
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