Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nurlan
eepm
Commits
95ea2b24
Commit
95ea2b24
authored
Jul 08, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix behaviour when has dir with the same name like package
parent
f4c99622
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
5 deletions
+9
-5
epm-provides
bin/epm-provides
+4
-2
epm-query
bin/epm-query
+1
-1
epm-requires
bin/epm-requires
+4
-2
No files found.
bin/epm-provides
View file @
95ea2b24
...
...
@@ -21,6 +21,7 @@ load_helper epm-query
epm_provides_files
()
{
local
pkg_files
=
"
$@
"
[
-n
"
$pkg_files
"
]
||
return
local
PKGTYPE
=
"
$(
get_package_type
$pkg_files
)
"
...
...
@@ -44,6 +45,7 @@ epm_provides_files()
epm_provides_names
()
{
local
pkg_names
=
"
$@
"
local
CMD
[
-n
"
$pkg_names
"
]
||
return
...
...
@@ -102,6 +104,6 @@ epm_provides()
{
[
-n
"
$pkg_filenames
"
]
||
fatal
"Provides: missing package(s) name"
epm_provides_files
epm_provides_names
epm_provides_files
$pkg_files
epm_provides_names
$pkg_names
$pkg_dirs
}
bin/epm-query
View file @
95ea2b24
...
...
@@ -185,5 +185,5 @@ epm_query()
__epm_query_file
$pkg_files
||
return
__epm_query_name
$pkg_names
||
return
__epm_query_name
$pkg_names
$pkg_dirs
||
return
}
bin/epm-requires
View file @
95ea2b24
...
...
@@ -21,6 +21,7 @@ load_helper epm-query
epm_requires_files
()
{
local
pkg_files
=
"
$@
"
[
-n
"
$pkg_files
"
]
||
return
local
PKGTYPE
=
"
$(
get_package_type
$pkg_files
)
"
...
...
@@ -42,6 +43,7 @@ epm_requires_files()
epm_requires_names
()
{
local
pkg_names
=
"
$@
"
local
CMD
[
-n
"
$pkg_names
"
]
||
return
...
...
@@ -101,6 +103,6 @@ docmd $CMD $pkg_names
epm_requires
()
{
[
-n
"
$pkg_filenames
"
]
||
fatal
"Requires: missing package(s) name"
epm_requires_files
epm_requires_names
epm_requires_files
$pkg_files
epm_requires_names
$pkg_names
$pkg_dirs
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment