diff options
author | acerix | 2016-09-07 15:06:50 -0400 |
---|---|---|
committer | acerix | 2016-09-07 15:06:50 -0400 |
commit | aa0751292643fc2ada8b54eef1504b61008b2a49 (patch) | |
tree | d0e371053c8a112b544cc7e864acb772e58dd973 /PKGBUILD | |
parent | e5e45c0d87dc1ab3cd9268a34682f021e01c0cc9 (diff) | |
download | aur-aa0751292643fc2ada8b54eef1504b61008b2a49.tar.gz |
prune dirs in find, to prevent error on child files
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -52,11 +52,11 @@ build() { make # delete windows-only files - find \( -iname "Windows" -o -iname "Win64" -o -iname "vs2013" -o -iname "vs2015" \) -type d -exec rm -r "{}" \; + find \( -iname "Windows" -o -iname "Win64" -o -iname "vs2013" -o -iname "vs2015" \) -type d -prune -exec rm -r "{}" \; find -iregex '.*\.\(exe\|dll\|bat\|vcx?proj\(\.filters\|\.user\)?\|sln\)$' -delete # delete mac-only files (1+ GiB) - find Engine/Source/ThirdParty \( -iname "IOS" -o -iname "TVOS" -o -iname "osx64" \) -type d -exec rm -r "{}" \; + find Engine/Source/ThirdParty \( -iname "IOS" -o -iname "TVOS" -o -iname "osx64" \) -type d -prune -exec rm -r "{}" \; } package() { |