fix a variable name

This commit is contained in:
z4yx 2020-03-20 17:51:52 +08:00
parent 9514244be9
commit d7de3bd4cf
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ function git_repack() {
while read repo; do
cd $repo
size=$(du -sk .|cut -f1)
total_size=$(($total_size+1024*$sz))
total_size=$(($total_size+1024*$size))
if [[ "$size" -gt "100000" ]]; then
git repack -a -b -d
fi

View File

@ -40,7 +40,7 @@ function git_repack() {
while read repo; do
cd $repo
size=$(du -sk .|cut -f1)
total_size=$(($total_size+1024*$sz))
total_size=$(($total_size+1024*$size))
if [[ "$size" -gt "100000" ]]; then
git repack -a -b -d
fi