print all bad eols
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6821 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
75b07c1102
commit
28e6462b4e
1 changed files with 5 additions and 1 deletions
|
@ -205,6 +205,7 @@ def TestSubversionEOL():
|
||||||
svn_files = filter(versioned, files)
|
svn_files = filter(versioned, files)
|
||||||
svn_files = filter(lambda x: x not in exceptions, svn_files)
|
svn_files = filter(lambda x: x not in exceptions, svn_files)
|
||||||
|
|
||||||
|
bad_eol = False
|
||||||
for f in svn_files:
|
for f in svn_files:
|
||||||
ext = splitext(f)[1]
|
ext = splitext(f)[1]
|
||||||
if ext in eoldict.keys():
|
if ext in eoldict.keys():
|
||||||
|
@ -214,6 +215,9 @@ def TestSubversionEOL():
|
||||||
if not s or s[0] != eol:
|
if not s or s[0] != eol:
|
||||||
print '*** %s has bad eol-style' % path
|
print '*** %s has bad eol-style' % path
|
||||||
log('*** %s has bad eol-style' % path)
|
log('*** %s has bad eol-style' % path)
|
||||||
|
bad_eol = True
|
||||||
|
|
||||||
|
if bad_eol:
|
||||||
exit()
|
exit()
|
||||||
|
|
||||||
def CreateMenuImage():
|
def CreateMenuImage():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue