You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-portage/iwdevtools/files/iwdevtools-0.11.5-rcd-plain...

19 lines
667 B

https://github.com/ionenwks/iwdevtools/commit/408fba9
From: Ionen Wolkens <ionen@gentoo.org>
Date: Mon, 1 Aug 2022 04:28:49 -0400
Subject: [PATCH] repo-cd: use plain name for error display
Given doesn't look so nice with the [_-] addition:
! no non-excluded match found for '*some[_-]name*'
--- a/scripts/repo-cd
+++ b/scripts/repo-cd
@@ -307,7 +307,7 @@ rcd-cd() {
done | mapfile -td '' choice
if (( ! ${#choice[@]} )); then
- rcd-msg '!:r' "no non-excluded match found for '${C[m]}${search}${C[n]}'${userepo:+ in ::${userepo}}"
+ rcd-msg '!:r' "no non-excluded match found for '${C[m]}${name}${C[n]}'${userepo:+ in ::${userepo}}"
exit 104
fi