Skip to content

Commit

Permalink
Fix command for Copr repo enabling in ClipboardCopy
Browse files Browse the repository at this point in the history
This resolves issues with unexpected formatting in the copied text
(e.g. `sudo dnf copr enable ,@rhel-lightspeed,/,command-line-assistant, ,epel-10-x86_64`).
  • Loading branch information
lbarcziova authored and Venefilyn committed Nov 18, 2024
1 parent 5c58b0e commit 6db9ab2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/components/copr/CoprBuild.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ export const CoprBuild = () => {
variant="inline-compact"
isCode
>
sudo dnf copr enable {data.copr_owner}/
{data.copr_project} {data.chroot}
{`sudo dnf copr enable ${data.copr_owner}/${data.copr_project} ${data.chroot}`}
</ClipboardCopy>
</ListItem>
</List>
Expand Down

0 comments on commit 6db9ab2

Please sign in to comment.