mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2025-01-20 07:19:18 +01:00
CA-176169: Copyright check to also include shell scripts
Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
parent
fe24ba067f
commit
61c5b43a15
@ -37,7 +37,7 @@ echo "INFO: copyrightcheck"
|
||||
dir="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
src="$( cd -P "$( dirname "${BASH_SOURCE[0]}" )/../.." && pwd )"
|
||||
|
||||
output=$( /usr/bin/find "$src/XenAdmin" "$src/XenModel" "$src/XenOvfApi" "$src/XenOvfTransport" -not -ipath '*obj/*' -type f -iname '*.cs' -not -ipath '*Designer*' -not -ipath './obj*' -exec grep -L "Copyright (c) Citrix Systems, Inc." {} \;)
|
||||
output=$( /usr/bin/find "$src/XenAdmin" "$src/XenModel" "$src/XenOvfApi" "$src/XenOvfTransport" "$src/mk" -not -ipath '*obj/*' -type f \( -iname \*.cs -o -iname \*.sh \) -not -ipath '*Designer*' -not -ipath './obj*' -exec grep -L "Copyright (c) Citrix Systems, Inc." {} \;)
|
||||
|
||||
echo "$output" | sed -e "s,$src/,,g"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user