컴퓨터/기타
SVN에 sh파일 커밋
인숭이
2014. 2. 17. 10:39
현상)
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=*
[출처] 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
김용환 블로그