From 4998f0af60ac99924213fd4f2556c80f569f6d55 Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (CosmicFusion)" Date: Mon, 5 Aug 2024 22:27:27 +0200 Subject: [PATCH] make sure not to override original series --- main.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.sh b/main.sh index 660aadaca..b913b51dc 100755 --- a/main.sh +++ b/main.sh @@ -32,13 +32,13 @@ if git clone --depth=1 https://git.pika-os.com/upstream-patches/"$PIKA_PACKAGE_N then if cat ./debian/source/format | grep 'quilt' then - cp -vf ../patches/ ./debian/ + cp -vf ../patches/patches/* ./debian/ cat ../series >> ./debian/patches/series else for i in $(cat ../series) do echo "Applying Patch: $i" - patch -Np1 -i ../patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2" + patch -Np1 -i ../patches/patches/$i || bash -c "echo "Applying Patch $i Failed!" && exit 2" done fi fi