mirror of
https://github.com/freedoom/freedoom.git
synced 2025-09-03 19:25:45 -04:00
The tags are shorthand for the license of each file and avoid copying the full license text into each one (and avoids having to manually update the dates in each one...).
15 lines
321 B
Python
Executable file
15 lines
321 B
Python
Executable file
#!/usr/bin/env python
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
import a2i_file
|
|
import sbi_file
|
|
import sys
|
|
|
|
if len(sys.argv) != 3:
|
|
print >> sys.stderr, "Usage: %s <input filename> <output filename>" \
|
|
% sys.argv[0]
|
|
sys.exit(-1)
|
|
|
|
data = a2i_file.read(sys.argv[1])
|
|
sbi_file.write(sys.argv[2], data)
|
|
|