I hate abbreviations and short variable names wholeheartedly

This commit is contained in:
Alexey Milovidov 2022-12-11 08:57:04 +03:00 committed by GitHub
parent d4d0cb864c
commit 4ceea2b43c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,13 +49,13 @@ then
exit 1
fi
ch="clickhouse"
clickhouse="$ch"
clickhouse_download_filename_prefix="clickhouse"
clickhouse="$clickhouse_download_filename_prefix"
i=0
while [ -f "$clickhouse" ]
do
clickhouse="${ch}.${i}"
clickhouse="${clickhouse_download_filename_prefix}.${i}"
i=$(($i+1))
done