mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
Update for useless script #13599
This commit is contained in:
parent
90a5dface3
commit
e4d02f6b51
@ -6,10 +6,10 @@ cd `readlink -f $(dirname $0)`/../..
|
||||
|
||||
clang_format=`bash -c "compgen -c clang-format | grep 'clang-format-[[:digit:]]' | sort --version-sort --reverse | head -n1"`
|
||||
if [ ! -z $clang_format ]; then
|
||||
find base dbms utils -name *.cpp -or -name *.h -exec $clang_format -i {} + ;
|
||||
find base src programs utils -name *.cpp -or -name *.h -exec $clang_format -i {} + ;
|
||||
else
|
||||
echo clang-format missing. try to install:
|
||||
echo sudo apt install clang-format
|
||||
echo or
|
||||
echo sudo apt install clang-format-3.9
|
||||
echo sudo apt install clang-format-10
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user