Merge pull request #6633 from amyspark/fix-xattr-detection

cask: fix xattr error detection
This commit is contained in:
Markus Reiter 2019-10-23 07:05:50 +02:00 committed by GitHub
commit f357d4710f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -141,7 +141,7 @@ module Cask
elsif result.stderr.include? "pkg_resources.DistributionNotFound"
add_error "Your Python installation is unable to find xattr."
else
add_error "unknown xattr error: #{result.stderr.first}"
add_error "unknown xattr error: #{result.stderr.split("\n").last}"
end
end