Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 919272 Details for
Bug 1121337
[PATCH] completion: Add mockbuild --root completion
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add mockbuild --root completion
0002-completion-Add-mockbuild-root-completion.patch (text/plain), 1.67 KB, created by
Ville Skyttä
on 2014-07-19 12:07:01 UTC
(
hide
)
Description:
Add mockbuild --root completion
Filename:
MIME Type:
Creator:
Ville Skyttä
Created:
2014-07-19 12:07:01 UTC
Size:
1.67 KB
patch
obsolete
>From 0b55ca66aab3e91d9ffc46e3c319228e3b19c5e1 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Ville=20Skytt=C3=A4?= <ville.skytta@iki.fi> >Date: Thu, 24 Apr 2014 21:44:54 +0300 >Subject: [PATCH 2/2] completion: Add mockbuild --root completion > >--- > src/fedpkg.bash | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >diff --git a/src/fedpkg.bash b/src/fedpkg.bash >index 2b20b37..a8c64a8 100644 >--- a/src/fedpkg.bash >+++ b/src/fedpkg.bash >@@ -88,7 +88,7 @@ _fedpkg() > # parse command specific options > > local options= >- local options_target= options_arches= options_branch= options_string= options_file= options_dir= options_srpm= >+ local options_target= options_arches= options_branch= options_string= options_file= options_dir= options_srpm= options_mroot= > local after= after_more= > > case $command in >@@ -197,7 +197,7 @@ _fedpkg() > esac > > local all_options="--help $options" >- local all_options_value="$options_target $options_arches $options_branch $options_string $options_file $options_dir $options_srpm" >+ local all_options_value="$options_target $options_arches $options_branch $options_string $options_file $options_dir $options_srpm $options_mroot" > > # count non-option parameters > >@@ -242,6 +242,14 @@ _fedpkg() > elif [[ -n $options_string ]] && in_array "$prev" "$options_string"; then > COMPREPLY=( ) > >+ elif [[ -n $options_mroot ]] && in_array "$prev" "$options_mroot"; then >+ COMPREPLY=( ) >+ if declare -F _mock_root &>/dev/null; then >+ _mock_root >+ elif declare -F _xfunc &>/dev/null; then >+ _xfunc mock _mock_root >+ fi >+ > else > local after_options= > >-- >1.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1121337
: 919272