Commit 606165ed authored by Vitaly Lipatov's avatar Vitaly Lipatov

always put dirs in pkg_names

parent f3bd2eb6
...@@ -350,10 +350,11 @@ fi ...@@ -350,10 +350,11 @@ fi
pkg_files=$(strip_spaces "$pkg_files") pkg_files=$(strip_spaces "$pkg_files")
pkg_dirs=$(strip_spaces "$pkg_dirs") pkg_dirs=$(strip_spaces "$pkg_dirs")
pkg_names=$(strip_spaces "$pkg_names") # in common case dirs equals to names only suddenly
pkg_names=$(strip_spaces "$pkg_names $pkg_dirs")
pkg_urls=$(strip_spaces "$pkg_urls") pkg_urls=$(strip_spaces "$pkg_urls")
pkg_filenames=$(strip_spaces "$pkg_files $pkg_dirs $pkg_names") pkg_filenames=$(strip_spaces "$pkg_files $pkg_names")
# Just debug # Just debug
#echover "command: $epm_cmd" #echover "command: $epm_cmd"
......
...@@ -105,5 +105,5 @@ epm_provides() ...@@ -105,5 +105,5 @@ epm_provides()
[ -n "$pkg_filenames" ] || fatal "Provides: missing package(s) name" [ -n "$pkg_filenames" ] || fatal "Provides: missing package(s) name"
epm_provides_files $pkg_files epm_provides_files $pkg_files
epm_provides_names $pkg_names $pkg_dirs epm_provides_names $pkg_names
} }
...@@ -185,5 +185,5 @@ epm_query() ...@@ -185,5 +185,5 @@ epm_query()
__epm_query_file $pkg_files || return __epm_query_file $pkg_files || return
__epm_query_name $pkg_names $pkg_dirs || return __epm_query_name $pkg_names || return
} }
...@@ -104,5 +104,5 @@ epm_requires() ...@@ -104,5 +104,5 @@ epm_requires()
{ {
[ -n "$pkg_filenames" ] || fatal "Requires: missing package(s) name" [ -n "$pkg_filenames" ] || fatal "Requires: missing package(s) name"
epm_requires_files $pkg_files epm_requires_files $pkg_files
epm_requires_names $pkg_names $pkg_dirs epm_requires_names $pkg_names
} }
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