Compare commits
6 Commits
a87b491825
...
master
Author | SHA1 | Date | |
---|---|---|---|
d315ec66e8 | |||
7abf811b44 | |||
9338396aba | |||
5ad24f97b5 | |||
5089fb65e8 | |||
57bcb5492c |
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
text=lf
|
||||||
|
text eol=lf
|
@ -85,23 +85,6 @@ ping 127.0.0.1 -n 20
|
|||||||
)
|
)
|
||||||
cls
|
cls
|
||||||
|
|
||||||
:: Check LF line ending
|
|
||||||
|
|
||||||
pushd "%~dp0"
|
|
||||||
>nul findstr /v "$" "%~nx0" && (
|
|
||||||
echo:
|
|
||||||
echo Error - Script either has LF line ending issue or an empty line at the end of the script is missing.
|
|
||||||
echo:
|
|
||||||
echo:
|
|
||||||
echo Check this webpage for help - %mas%troubleshoot
|
|
||||||
echo:
|
|
||||||
echo:
|
|
||||||
ping 127.0.0.1 -n 20 >nul
|
|
||||||
popd
|
|
||||||
exit /b
|
|
||||||
)
|
|
||||||
popd
|
|
||||||
|
|
||||||
::========================================================================================================================================
|
::========================================================================================================================================
|
||||||
|
|
||||||
cls
|
cls
|
||||||
|
Reference in New Issue
Block a user