Fix (Python) language dependency test
System python (for 2.x) does not provide `python2` binary. So use `python` again. For Python 3.x we still use `python3`.
This commit is contained in:
parent
7995363771
commit
ceb01c3124
@ -27,7 +27,7 @@ class LanguageModuleDependency < Requirement
|
||||
when :node then %W{/usr/bin/env node -e require('#{@import_name}');}
|
||||
when :ocaml then %W{/usr/bin/env opam list #{@import_name} | grep #{@import_name}}
|
||||
when :perl then %W{/usr/bin/env perl -e use\ #{@import_name}}
|
||||
when :python then %W{/usr/bin/env python2 -c import\ #{@import_name}}
|
||||
when :python then %W{/usr/bin/env python -c import\ #{@import_name}}
|
||||
when :python3 then %W{/usr/bin/env python3 -c import\ #{@import_name}}
|
||||
when :ruby then %W{/usr/bin/env ruby -rubygems -e require\ '#{@import_name}'}
|
||||
when :rbx then %W{/usr/bin/env rbx -rubygems -e require\ '#{@import_name}'}
|
||||
|
Loading…
x
Reference in New Issue
Block a user