Browse Source

Added shell script similar to batch file for Windows

git-svn-id: https://svn.inf.ethz.ch/svn/lecturers/a2/trunk@7891 8c9fc860-2736-0410-a75d-ab315db34111
negelef 7 years ago
parent
commit
deb0cc0522
2 changed files with 8 additions and 0 deletions
  1. 4 0
      Linux32G/a2.sh
  2. 4 0
      Linux64G/a2.sh

+ 4 - 0
Linux32G/a2.sh

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

+ 4 - 0
Linux64G/a2.sh

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