본문 바로가기

컴퓨터/기타

SVN에 sh파일 커밋

현상)

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



[출처] http://knight76.tistory.com/entry/subversionsvn-%EC%97%90%EC%84%9C-sh-commit-%EC%8B%9C-%EC%A3%BC%EC%9D%98-%EC%82%AC%ED%95%AD

김용환 블로그

'컴퓨터 > 기타' 카테고리의 다른 글