Browse Source

Wine PKGBUILD: consider case 'no patches found'

master
Pekka Helenius 6 years ago
committed by GitHub
parent
commit
ba571bc680
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 7 deletions
  1. +9
    -7
      0-wine-staging-git/PKGBUILD

+ 9
- 7
0-wine-staging-git/PKGBUILD View File

@ -196,14 +196,16 @@ build() {
${staging_patchsets[*]} ${staging_patchsets[*]}
fi fi
# Apply all custom patches
msg2 "Applying custom patches..."
if [[ $(ls "${srcdir}"/*.patch | wc -w) -ne 0 ]]; then
cd "${srcdir}"/wine-git
for i in $srcdir/*.patch
do
patch -Np1 < $i
done
cd "${srcdir}"/wine-git
# Apply all custom patches
msg2 "Applying custom patches..."
for i in "${srcdir}"/*.patch; do
patch -Np1 < ${i}
done
fi
cd "${srcdir}" cd "${srcdir}"


Loading…
Cancel
Save