mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-02 02:34:19 +00:00
updated build script
This commit is contained in:
@@ -186,7 +186,11 @@ update_copyright_year() {
|
||||
echo -n "Updating copyright year in tools to $YEAR ... "
|
||||
cd $BRANCH/bin
|
||||
for tool_file in *; do
|
||||
echo "Updating $tool_file"
|
||||
# Skip checking binary files (golang binaries)
|
||||
file bin/pt-pg-summary | grep -q "ELF"
|
||||
if [ $? -eq 0 ]; then
|
||||
continue
|
||||
fi
|
||||
local copyright="$(grep "[0-9] Percona LLC and/or its affiliates" $tool_file)"
|
||||
local new_copyright="$(../util/new-copyright-year "$YEAR" "$copyright")"
|
||||
if [ $? -ne 0 ]; then
|
||||
|
Reference in New Issue
Block a user