From b627f53bcc596fde67df0b9ab942c27540db16de Mon Sep 17 00:00:00 2001 From: Fincer Date: Wed, 5 Dec 2018 21:46:58 +0200 Subject: [PATCH] Arch: Wine PKGBUILD - suppress cp errors --- arch/0-wine-staging-git/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/0-wine-staging-git/PKGBUILD b/arch/0-wine-staging-git/PKGBUILD index 228a6b5..72aefb6 100755 --- a/arch/0-wine-staging-git/PKGBUILD +++ b/arch/0-wine-staging-git/PKGBUILD @@ -124,7 +124,7 @@ source=( ) if [[ $(find ./wine-patches -mindepth 1 -maxdepth 1 -regex ".*\.\(patch\|diff\)$") ]]; then - cp -r ./wine-patches/*.{patch,diff} ./ + cp -rf ./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})"