浏览代码

Re-ordered for incompatible Linux shell

ceriel 29 年之前
父节点
当前提交
81453a1f7f
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      util/shf/march.sh

+ 2 - 2
util/shf/march.sh

@@ -9,7 +9,7 @@ esac
 errors=no
 if test -r $1/LIST
 then
-  <$1/LIST (
+  (
     read archname
     if test -r $1/$archname
     then 
@@ -47,7 +47,7 @@ then
       echo $2 not made, due to compilation errors
       exit 1
     fi
-  )
+  ) < $1/LIST
 else
   echo no LIST file in directory $1
   exit 1