From 61c5b43a154dd197e9ef7c2680443f2bed171486 Mon Sep 17 00:00:00 2001 From: Gabor Apati-Nagy Date: Mon, 16 Jan 2017 20:17:15 +0000 Subject: [PATCH] CA-176169: Copyright check to also include shell scripts Signed-off-by: Gabor Apati-Nagy --- devtools/copyrightcheck/copyrightcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devtools/copyrightcheck/copyrightcheck.sh b/devtools/copyrightcheck/copyrightcheck.sh index f7ba76d53..b86800e2e 100644 --- a/devtools/copyrightcheck/copyrightcheck.sh +++ b/devtools/copyrightcheck/copyrightcheck.sh @@ -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"