Skip to content

Commit

Permalink
Don't fail if unit_tests.pri doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
Joe Sadusk committed Jun 12, 2012
1 parent 64407e3 commit d568197
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clean_qmake_files.py
Expand Up @@ -14,5 +14,7 @@
for sub in fnmatch.filter(os.listdir(testdir), '*.pro'):
os.unlink(os.path.join(testdir, sub))

os.unlink(os.path.join('src', 'unit_tests', 'unit_tests.pri'))
testlist = os.path.join('src', 'unit_tests', 'unit_tests.pri')
if os.access(testlist, os.R_OK):
os.unlink(testlist)

0 comments on commit d568197

Please sign in to comment.