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 năm trước cách đây
mục cha
commit
deb0cc0522
2 tập tin đã thay đổi với 8 bổ sung0 xóa
  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