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
b48511b2
Commit
b48511b2
authored
3 years ago
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-query_file: allow --short in the same manner as usual
parent
ffa68572
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
epm-query_file
bin/epm-query_file
+4
-10
No files found.
bin/epm-query_file
View file @
b48511b2
...
...
@@ -158,16 +158,6 @@ __do_short_query()
epm_query_file
()
{
# И где это используется?
# in short mode print handle only real names and do short output
# TODO: move to separate command?
# FIXME: it is possible use query
if
[
-n
"
$short
"
]
;
then
[
-n
"
$pkg_files$pkg_dirs
"
]
||
fatal
"Run query without file names (needed path to files)"
__do_short_query
$pkg_files
$pkg_dirs
return
fi
# file can exists or not
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run query without file names"
...
...
@@ -177,7 +167,11 @@ epm_query_file()
res
=
0
for
pkg
in
$pkg_filenames
;
do
__do_query_real_file
"
$pkg
"
if
[
-n
"
$short
"
]
;
then
__do_short_query
"
$FULLFILEPATH
"
||
res
=
$?
else
__do_query
"
$FULLFILEPATH
"
||
res
=
$?
fi
done
[
"
$res
"
=
"0"
]
||
info
"Try epm sf for search file in all packages in repository"
#|| pkg_filenames="$FULLFILEPATH" epm_search_file
...
...
This diff is collapsed.
Click to expand it.
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