Advertisement
Guest User

Untitled

a guest
Dec 19th, 2018
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.45 KB | None | 0 0
  1. diff --git a/PKGBUILD b/PKGBUILD
  2. index 5275426..4348810 100644
  3. --- a/PKGBUILD
  4. +++ b/PKGBUILD
  5. @@ -54,10 +54,9 @@ prepare() {
  6.  
  7.    msg2 "Patching source..."
  8.    local resources
  9. -  resources="resources/patches/4.18"
  10. +  resources="$srcdir/resources/patches/4.18"
  11.    local src
  12. -  for src in resources; do
  13. -    src="${src%%::*}"
  14. +  for src in "$resources"/*; do
  15.      src="${src##*/}"
  16.      [[ $src = *.patch ]] || continue
  17.      msg2 "Applying patch $src..."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement