浏览代码

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 年之前
父节点
当前提交
deb0cc0522
共有 2 个文件被更改,包括 8 次插入0 次删除
  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