Split shebang from copyright header

Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
Pawel Cieslak
2021-06-29 14:04:49 +00:00
committed by Compute-Runtime-Automation
parent 2fcf983a29
commit 363a92f456
17 changed files with 27 additions and 10 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash
#
# Copyright (C) 2019-2021 Intel Corporation
#

View File

@ -1,6 +1,7 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 Intel Corporation
# Copyright (C) 2018-2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#

View File

@ -1,6 +1,7 @@
#!/bin/bash
#
# Copyright (C) 2018-2019 Intel Corporation
# Copyright (C) 2018-2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#

View File

@ -1,4 +1,5 @@
#!/bin/bash
#
# Copyright (C) 2019-2021 Intel Corporation
#

View File

@ -1,4 +1,5 @@
#!/bin/bash
#
# Copyright (C) 2020-2021 Intel Corporation
#

View File

@ -1,6 +1,7 @@
#!/bin/bash
#
# Copyright (C) 2019-2020 Intel Corporation
# Copyright (C) 2019-2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python3
#
# Copyright (C) 2020-2021 Intel Corporation
#

View File

@ -1,6 +1,7 @@
#!/bin/bash
#
# Copyright (C) 2019 Intel Corporation
# Copyright (C) 2019-2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#

View File

@ -1,6 +1,7 @@
#!/bin/bash
#
# Copyright (C) 2018-2020 Intel Corporation
# Copyright (C) 2018-2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python3
#
# Copyright (C) 2018-2021 Intel Corporation
#
@ -152,6 +153,8 @@ def main(args):
first_line = ''
else:
line = fin.readline()
while(line == '\n'):
line = fin.readline()
is_cpp = False
@ -235,7 +238,7 @@ def main(args):
os.remove(path)
with open(path, 'w') as fout:
if first_line:
fout.write(first_line)
fout.write(f'{first_line}\n')
fout.write(''.join(written_header))
contents = ''.join(gathered_lines)

View File

@ -1,4 +1,5 @@
#!/bin/bash
#
# Copyright (C) 2018-2020 Intel Corporation
#

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python3
#
# Copyright (C) 2021 Intel Corporation
#

View File

@ -1,4 +1,5 @@
#!/bin/bash
#
# Copyright (C) 2019-2021 Intel Corporation
#

View File

@ -1,4 +1,5 @@
#!/bin/bash
#
# Copyright (C) 2019-2021 Intel Corporation
#

View File

@ -1,6 +1,7 @@
#!/bin/bash
#
# Copyright (C) 2018-2020 Intel Corporation
# Copyright (C) 2018-2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#

View File

@ -1,10 +1,9 @@
#!/bin/bash
#
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
echo 123

View File

@ -1,6 +1,7 @@
#!/bin/sh
#
# Copyright (C) 2018-2020 Intel Corporation
# Copyright (C) 2018-2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#