본문 바로가기

컴퓨터/기타

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

김용환 블로그

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

[Unix] 단말기 폭 초과 발생 시 해결 방법  (0) 2015.12.08
무선네트워크 드라이버 설치 후에도 잡히지 않을 때  (1) 2015.11.19
FPE에 대한 이해  (0) 2014.07.09
FAT32, NTFS 의미래  (1) 2013.04.22
Revolution OS  (0) 2013.02.22