Check if CPU family is x86_64. (#15862)

* Check if CPU family is x86_64.

* Remove the leading space.
This commit is contained in:
健美猞猁 2020-04-05 00:10:48 +08:00 committed by GitHub
parent 0891c5d854
commit a7f418e0b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ class Fl(Package):
def install(self, spec, prefix):
if (self.spec.satisfies('platform=linux') and
self.spec.satisfies('target=x86_64')):
self.spec.target.family == 'x86_64'):
with working_dir('fl_{0}'.format(spec.version)):
install_tree('.', prefix)
else: