From 2ae36e17d1861ab09b5cd9f312b05aa8052799cc Mon Sep 17 00:00:00 2001
From: Luis Guzman <ark@switnet.org>
Date: Fri, 13 May 2022 18:02:56 -0500
Subject: [PATCH] Find and remove defined patch.

---
 helpers/config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/config b/helpers/config
index 9afecb157..5d4280ef0 100755
--- a/helpers/config
+++ b/helpers/config
@@ -267,7 +267,7 @@ fi
 }
 
 remove_patch(){
-  rm debian/patches/$1
+  rm "$(find debian/patches -name "$1")"
   sed -i "/$1/d" debian/patches/series
 }
 
-- 
GitLab