Skip to content

Commit

Permalink
Merge pull request #33 from nanmu42/u2017-1
Browse files Browse the repository at this point in the history
.cmd和.bat文件需单独使用CRLF换行符
  • Loading branch information
nanmu42 committed Jun 1, 2017
2 parents d7fbba4 + f56a2f2 commit 2bf8762
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Auto detect text files and perform LF normalization
* text=auto

# except .cmd and .bat
*.cmd eol=crlf
*.bat eol=crlf

# Custom for Visual Studio
*.cs diff=csharp

Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ CQUThesis是一个绵薄的开源项目,自从2016年5月份上线以来,很
* **rhiswell**[Issue #28](https://github.com/nanmu42/CQUThesis/issues/28),一个振奋人心的好消息)
* **fengzipei**[Issue #30](https://github.com/nanmu42/CQUThesis/issues/30)
* **craneaow**[Issue #20](https://github.com/nanmu42/CQUThesis/issues/20),这带来了一个新功能!)
* **交换団**(重庆大学TeX用户组成员,他发现了.bat文件中由Git引入的换行符的问题。这里有[解决方法](https://stackoverflow.com/questions/19551037/git-how-to-keep-crlf-endings-for-specific-files-only)
* **Zousiyu**(重庆大学TeX用户组成员,他贡献了开发思路)
* **Lotus**(重庆大学TeX用户组成员,他在群里各种--瞎--带节奏)

Expand Down
1 change: 1 addition & 0 deletions makewin-en.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@echo off


cd /d "%~dp0"

title CQUThesis Build Helper
Expand Down
1 change: 1 addition & 0 deletions makewin.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@echo off


rem 避免在管理员身份下的路径问题
cd /d "%~dp0"

Expand Down

0 comments on commit 2bf8762

Please sign in to comment.