Skip to content

Commit

Permalink
Merge pull request #1402 from andreas-schwab/master
Browse files Browse the repository at this point in the history
search: resolve -B . to current project
  • Loading branch information
dmach committed Sep 11, 2023
2 parents 1dd06ca + e8fc97b commit 0a47cb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/commandline.py
Original file line number Diff line number Diff line change
Expand Up @@ -8453,7 +8453,7 @@ def build_xpath(attr, what, substr=False):
if opts.limit_to_attribute:
xpath = xpath_join(xpath, 'attribute/@name=\'%s\'' % opts.limit_to_attribute, op='and')
if opts.baseproject:
xpath = xpath_join(xpath, 'path/@project=\'%s\'' % opts.baseproject, op='and')
xpath = xpath_join(xpath, 'path/@project=\'%s\'' % self._process_project_name(opts.baseproject), op='and')
if opts.binaryversion:
m = re.match(r'(.+)-(.*?)$', opts.binaryversion)
if m:
Expand Down

0 comments on commit 0a47cb3

Please sign in to comment.