config: enable multiple parent directory for remove_patch function

This commit is contained in:
Luis Guzmán 2023-02-16 07:49:38 +00:00
parent 306e1c1e48
commit 0c16209298

View file

@ -262,7 +262,7 @@ fi
}
remove_patch(){
rm "$(find debian/patches -name "$1")"
rm "$(find */patches -name "$1")"
sed -i "/$1/d" debian/patches/series
}