From fbe351606eb3ee49eac852f7765cd069f2ebe570 Mon Sep 17 00:00:00 2001
From: Stephen Hurd <deuce@synchro.net>
Date: Wed, 9 Feb 2022 16:59:32 -0500
Subject: [PATCH] Work around broken GNU patch which by default ignores the
 path

---
 patch.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patch.sh b/patch.sh
index 7514498..58e5541 100755
--- a/patch.sh
+++ b/patch.sh
@@ -3,5 +3,5 @@
 cd $2
 for patch in `find "$1/patches" -type f`
 do
-	patch -t -d "$2" < $patch
+	patch -p0 -t -d "$2" < $patch
 done
-- 
GitLab