Skip to content

Commit

Permalink
langs: remove remaining hardcoded /usr/bin paths
Browse files Browse the repository at this point in the history
  • Loading branch information
seirl committed Mar 4, 2017
1 parent 6c25d7f commit 2a740d0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion camisole/languages/python.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

class Python(Lang):
source_ext = '.py'
interpreter = '/usr/bin/python3'
interpreter = 'python3'
interpret_opts = ['-S']
reference_source = r'print("42")'
2 changes: 1 addition & 1 deletion camisole/languages/ruby.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

class Ruby(Lang):
source_ext = '.rb'
interpreter = '/usr/bin/ruby'
interpreter = 'ruby'
reference_source = r'puts "42"'
2 changes: 1 addition & 1 deletion camisole/languages/scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

class Scheme(Lang):
source_ext = '.scm'
interpreter = '/usr/bin/gsi'
interpreter = 'gsi'
reference_source = r'(display "42")(newline)'
4 changes: 2 additions & 2 deletions camisole/languages/visualbasic.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

class VisualBasic(Lang):
source_ext = '.vb'
compiler = '/usr/bin/vbnc'
compiler = 'vbnc'
compile_opts = ['/optimize+']
interpreter = '/usr/bin/mono'
interpreter = 'mono'
reference_source = r'''
Imports System
Public Module modmain
Expand Down

0 comments on commit 2a740d0

Please sign in to comment.