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
etersoft
eepm
Commits
cb1a0b43
Commit
cb1a0b43
authored
Oct 27, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-query_file: query package for every full path, not only last
parent
04bfeaa5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
epm-query_file
bin/epm-query_file
+4
-3
No files found.
bin/epm-query_file
View file @
cb1a0b43
...
...
@@ -23,7 +23,7 @@ load_helper epm-search_file
# copied from etersoft-build-utils/bin/rpmqf
# use and modify TOFILE recursively
real_file
()
__do_query_
real_file
()
{
local
LINKTO1 LINKTO
local
TOFILE
...
...
@@ -40,9 +40,10 @@ real_file()
# get value of symbolic link
if
[
-L
"
$TOFILE
"
]
;
then
__do_query
$TOFILE
LINKTO
=
`
readlink
"
$TOFILE
"
`
echo
"Note:
$TOFILE
is link to
$LINKTO
"
real_file
"
$LINKTO
"
__do_query_
real_file
"
$LINKTO
"
fi
FULLFILEPATH
=
`
realpath
$TOFILE
`
}
...
...
@@ -102,7 +103,7 @@ epm_query_file()
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run query without file names"
for
pkg
in
$pkg_filenames
;
do
real_file
"
$pkg
"
__do_query_
real_file
"
$pkg
"
__do_query
$FULLFILEPATH
||
pkg_filenames
=
$pkg
epm_search_file
done
...
...
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