Browse Source

Arch: Wine PKGBUILD - add PWD to 'find' path

master
Fincer 6 years ago
parent
commit
9469db33a4
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      arch/0-wine-staging-git/PKGBUILD

+ 2
- 2
arch/0-wine-staging-git/PKGBUILD View File

@ -123,8 +123,8 @@ source=(
'30-win32-aliases.conf'
)
if [[ $(find ./wine-patches -mindepth 1 -maxdepth 1 -regex ".*\.\(patch\|diff\)$") ]]; then
cp -rf ./wine-patches/*.{patch,diff} ./ 2>/dev/null
if [[ $(find ${PWD}/wine-patches -mindepth 1 -maxdepth 1 -regex ".*\.\(patch\|diff\)$") ]]; then
cp -rf ${PWD}/wine-patches/*.{patch,diff} ./ 2>/dev/null
p=0
for patch in $(find . -mindepth 1 -maxdepth 1 -regex ".*\.\(patch\|diff\)$"); do
patches[$p]="$(basename ${patch})"


Loading…
Cancel
Save