]> iEval git - gruntmaster-daemon.git/commitdiff
Make python refer to python2.7 explicitly
authorSergiu <srg.pscs@gmail.com>
Thu, 21 Jan 2016 13:37:12 +0000 (15:37 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 23 Jan 2016 16:12:19 +0000 (16:12 +0000)
gruntmaster-compile
t/01-jobs.t
t/problems/hello/tests/python/prog.py [changed mode: 0644->0755]

index c83a03f883911459951b8cd45b616585ef69e143..3a0dac886e9248e41f8f96b9e651d390ec586db8 100755 (executable)
@@ -46,7 +46,7 @@ given ($format){
                print OUT "#!/usr/bin/julia -O\n"                                                               if $_ eq 'JULIA';
                print OUT "#!/usr/bin/perl\n"                                                                   if $_ eq 'PERL';
                print OUT "#!/usr/bin/php -d ONLINE_JUDGE=true\n"                                               if $_ eq 'PHP';
-               print OUT "#!/usr/bin/python\n"                                                                 if $_ eq 'PYTHON';
+               print OUT "#!/usr/bin/python2.7\n"                                                              if $_ eq 'PYTHON';
                print OUT "#!/usr/bin/ruby\n"                                                                   if $_ eq 'RUBY';
                print OUT "#!/usr/bin/sbcl --script\n"                                                          if $_ eq 'SBCL';
                print OUT while <IN>;
index 03f4845f9111bea3eadc290cd9534543ded8bff6..6fb5a160233393140f348c8a9f686576c36210c3 100644 (file)
@@ -32,7 +32,7 @@ use constant COMPILER => {
           HASKELL ghc
           PERL perl
           PHP php
-          PYTHON python
+          PYTHON python2.7
           RUBY ruby
           RUST rustc
           OCAML ocaml
old mode 100644 (file)
new mode 100755 (executable)
index b6681c7..28f3af3
@@ -1,2 +1,2 @@
-#!/usr/bin/python
-print 'Hello World!';
+#!/usr/bin/python2.7
+print 'Hello World!'
This page took 0.030021 seconds and 4 git commands to generate.