diff options
author | Steven Barrett | 2024-02-01 16:46:24 -0600 |
---|---|---|
committer | Steven Barrett | 2024-02-01 16:46:24 -0600 |
commit | ffbfe137ebe76af941dce82098273eec4f4d6faa (patch) | |
tree | f85fef0820283f1978360be44c6647699a3d10e5 | |
parent | ee36e09f0338c0532be86b13bc790bd714f8384c (diff) | |
download | aur-ffbfe137ebe76af941dce82098273eec4f4d6faa.tar.gz |
Process all zen patches in series file
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -117,11 +117,12 @@ prepare() { _patchrel="$(echo "$_abiname" | cut -f2 -d -)" ### Add Liquorix patches - local _patchrx='^zen/v\d+\.\d+\.\d+-lqx\d+.patch$' local _patchfolder="${srcdir}/${_lqxpatchver}/linux-liquorix/debian/patches" - local _patchpath="$(grep -P "$_patchrx" "$_patchfolder/series")" - echo "Patching sources with ${_patchpath#*/}" - patch -Np1 -i "$_patchfolder/$_patchpath" + grep -P '^zen/' "$_patchfolder/series" | while IFS= read -r line + do + echo "Patching sources with $line" + patch -Np1 -i "$_patchfolder/$line" + done ### Setting version echo "Setting version..." |