mirror of
https://github.com/transmission/transmission
synced 2025-01-03 05:25:52 +00:00
libtransmission: fix copyright header generation (#6874)
This is related to #4850 since libtransmission/mime-types.js generates libtransmission/mime-types.h and puts it there. Also add a note that the file is automatically generated for good measure.
This commit is contained in:
parent
2b75869c80
commit
f3f887c93e
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
// This file was generated with libtransmission/mime-types.js
|
||||||
|
// DO NOT EDIT MANUALLY
|
||||||
|
|
||||||
// This file Copyright © Mnemosyne LLC.
|
// This file Copyright © Mnemosyne LLC.
|
||||||
// It may be used under GPLv2 (SPDX: GPL-2.0-only), GPLv3 (SPDX: GPL-3.0-only),
|
// It may be used under GPLv2 (SPDX: GPL-2.0-only), GPLv3 (SPDX: GPL-3.0-only),
|
||||||
// or any future license endorsed by Mnemosyne LLC.
|
// or any future license endorsed by Mnemosyne LLC.
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
|
||||||
const copyright =
|
const copyright =
|
||||||
`// This file Copyright © 2021-${new Date().getFullYear()} Mnemosyne LLC.
|
`// This file was generated with libtransmission/mime-types.js
|
||||||
|
// DO NOT EDIT MANUALLY
|
||||||
|
|
||||||
|
// This file Copyright © Mnemosyne LLC.
|
||||||
// It may be used under GPLv2 (SPDX: GPL-2.0-only), GPLv3 (SPDX: GPL-3.0-only),
|
// It may be used under GPLv2 (SPDX: GPL-2.0-only), GPLv3 (SPDX: GPL-3.0-only),
|
||||||
// or any future license endorsed by Mnemosyne LLC.
|
// or any future license endorsed by Mnemosyne LLC.
|
||||||
// License text can be found in the licenses/ folder.`;
|
// License text can be found in the licenses/ folder.`;
|
||||||
|
|
Loading…
Reference in a new issue