set the correct line endings for git

This commit is contained in:
Gator96100 2021-08-09 20:40:51 +02:00
parent eabf954258
commit f5b0b45b39
4 changed files with 5 additions and 8 deletions

View file

@ -2,4 +2,4 @@
call setup\setup.cmd call setup\setup.cmd
taskkill /IM "gpg-agent.exe" /F 2>NUL taskkill /IM "gpg-agent.exe" /F 2>NUL
echo %~dp0builds /builds ntfs noacl 0 0 >>msys2/etc/fstab echo %~dp0builds /builds ntfs noacl 0 0 >>msys2/etc/fstab
call msys2\msys2_shell.cmd -mingw64 -defterm -no-start -c /setup/autobuild.sh call msys2\msys2_shell.cmd -mingw64 -defterm -no-start -c /setup/autobuild.sh

View file

@ -2,4 +2,4 @@
cd %~dp0 cd %~dp0
call setup\setup.cmd call setup\setup.cmd
call msys2\msys2_shell.cmd -mingw64 -defterm -no-start %* call msys2\msys2_shell.cmd -mingw64 -defterm -no-start %*
if not exist setup\installed64.txt msys2\msys2_shell.cmd -mingw64 -defterm -no-start %* if not exist setup\installed64.txt msys2\msys2_shell.cmd -mingw64 -defterm -no-start %*

3
setup/.gitattributes vendored Normal file
View file

@ -0,0 +1,3 @@
* text eol=lf
*.cmd text eol=crlf
*.bat text eol=crlf

View file

@ -5,9 +5,3 @@ if ! (echo "$PWD" | grep -Eq ^[a-zA-Z0-9\/\._\-]+$) ; then
echo "Error: Install path contains special characters!" echo "Error: Install path contains special characters!"
sleep infinity sleep infinity
fi fi
#Using git to download ProxSpace will cause an installation error
if [ -d "$PWD/.git" ]; then
echo "Error: Do not use Git to download ProxSpace!"
sleep infinity
fi