From 9469db33a4f6f1cb2e8548705a6475db6aa93aad Mon Sep 17 00:00:00 2001 From: Fincer Date: Wed, 5 Dec 2018 21:57:31 +0200 Subject: [PATCH] Arch: Wine PKGBUILD - add PWD to 'find' path --- arch/0-wine-staging-git/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/0-wine-staging-git/PKGBUILD b/arch/0-wine-staging-git/PKGBUILD index 72aefb6..88a78e7 100755 --- a/arch/0-wine-staging-git/PKGBUILD +++ b/arch/0-wine-staging-git/PKGBUILD @@ -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})"