Skip to content

Commit

Permalink
CA-176169: Removed unneeded param from the copyright-checker script
Browse files Browse the repository at this point in the history
Signed-off-by: Gabor Apati-Nagy <[email protected]>
  • Loading branch information
GaborApatiNagy committed Jan 17, 2017
1 parent 61c5b43 commit 7d70690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devtools/copyrightcheck/copyrightcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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" "$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." {} \;)
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*' -exec grep -L "Copyright (c) Citrix Systems, Inc." {} \;)

echo "$output" | sed -e "s,$src/,,g"

Expand Down

0 comments on commit 7d70690

Please sign in to comment.