made the CS check for copying.txt and Copying.txt and COPYING.TXT
before adding a COPYING.txt
This commit is contained in:
parent
0eee46a59a
commit
d333d36752
1 changed files with 3 additions and 0 deletions
|
@ -258,6 +258,9 @@ namespace {
|
|||
// Don't add if it already exists.
|
||||
if (dir->find_child("file", "name", "COPYING.txt")) return;
|
||||
if (dir->find_child("file", "name", "COPYING")) return;
|
||||
if (dir->find_child("file", "name", "copying.txt")) return;
|
||||
if (dir->find_child("file", "name", "Copying.txt")) return;
|
||||
if (dir->find_child("file", "name", "COPYING.TXT")) return;
|
||||
|
||||
// Copy over COPYING.txt
|
||||
std::string contents = read_file("data/COPYING.txt");
|
||||
|
|
Loading…
Add table
Reference in a new issue