Explorar el Código

Fixed startup from different directory

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@8053 8c9fc860-2736-0410-a75d-ab315db34111
negelef hace 7 años
padre
commit
bfe07b51fa
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      Linux32/a2.sh

+ 1 - 3
Linux32/a2.sh

@@ -1,4 +1,2 @@
 #!/bin/sh
-
-dir=$(cd `dirname $0` && pwd)
-$dir/oberon run $dir/a2.txt
+cd `dirname $0` && ./oberon run a2.txt