소스 검색

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