Skip to content

Commit 01f2a4d

Browse files
committed
final version
1 parent 30636d2 commit 01f2a4d

File tree

5 files changed

+28
-11
lines changed

5 files changed

+28
-11
lines changed

check_license/check-headers.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,7 @@ fi
8686

8787
chmod +x "${SOURCE_ROOT}/check_license/file-exceptions.sh"
8888

89-
FILES=$($GIT $GIT_COMMAND | ${SOURCE_ROOT}/check_license/file-exceptions.sh\
90-
grep -E -e '*\.[chs]$' -e '*\.[ch]pp$' -e '*\.sh$' -e '*\.py$' \
91-
-e 'Makefile*' -e 'CMakeLists.txt$' -e '*\.cmake$' \
92-
-e '*\.link$' -e '*\.map$' -e '*\.Dockerfile$' -e 'LICENSE$' \
93-
-e '/match$' | \
94-
xargs)
89+
FILES=$($GIT $GIT_COMMAND | ${SOURCE_ROOT}/check_license/file-exceptions.sh)
9590

9691
RV=0
9792
for file in $FILES ; do

check_license/file-exceptions.sh

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,31 @@
44
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
55

66
# You can add an exception file
7-
grep -v -E -e '\src\uthash' \
7+
grep -v -E -e '/src/uthash/.*' \
88
-e 'benchmark/ubench.h' \
99
-e 'include/umf/proxy_lib_new_delete.h' \
1010
-e 'scripts/docs_config/conf.py' \
1111
-e 'src/uthash/utlist.h' \
12-
-e '\.yml$'
12+
-e 'src/uthash/uthash.h' \
13+
-e '\.yml$'\
14+
-e '\.clang-format$' \
15+
-e '\.md$' \
16+
-e '\.cmake-format$' \
17+
-e 'CODEOWNERS$' \
18+
-e 'scripts/assets/images/.*' \
19+
-e 'scripts/docs_config/.*' \
20+
-e 'scripts/qemu/configs/.*' \
21+
-e '\.txt$' \
22+
-e 'test/supp/.*' \
23+
-e '\.json$' \
24+
-e 'LICENSE.TXT' \
25+
-e '.github/workflows/.spellcheck-conf.toml' \
26+
-e '.gitignore' \
27+
-e '.mailmap' \
28+
-e '.trivyignore' \
29+
-e 'ChangeLog' \
30+
-e '\.cmake.in$' \
31+
-e '\.patch$'
32+
33+
34+

src/libumf.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
;;;; Begin Copyright Notice
2-
; Copyright (C) 2024 Intel Corporation
2+
; Copyright (C) 2023-2024 Intel Corporation
33
; Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
44
; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
55
;;;; End Copyright Notice

src/libumf.rc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Intel Corporation
1+
// Copyright (C) 2024 Intel Corporation
22
//
33
// Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
44
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

src/proxy_lib/proxy_lib.rc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2024 Intel Corporation
1+
// Copyright (C) 2024 Intel Corporation
22
//
33
// Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
44
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

0 commit comments

Comments
 (0)