현상)

shell script를 그냥 subversion에 그냥 commit 하면,

shell의 file type이 executable이 되지 않거나, ^M 이 줄 마지막에 들어가게 되어   /bin/bash^M: bad interpreter: No such file or directory 에러가 날 수 있다.

 

해결)

아래 property값이 commit되게 한다.

 

svn:eol-stype=native

svn:executable=*

 

 

image

Posted by '김용환'
,