目录文件计数.sh: $[ … ] seemed to be deprecated

Replaced it with $(( … ))
pull/12/head
TpaeFawzen 2020-12-06 21:48:39 +09:00 committed by GitHub
parent 2ff65f003f
commit 208700ae85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ do
echo $check
for item in $check
do
count=$[ $count + 1 ]
count=$(( $count + 1 ))
done
echo "$directory - $count"
count=0