mirror of
https://github.com/dockur/windows.git
synced 2026-07-07 05:07:26 +01:00
feat: Simplify increment syntax (#1747)
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ backup () {
|
||||
|
||||
while [ -d "$dir" ]
|
||||
do
|
||||
count=$((count+1))
|
||||
(( count++ ))
|
||||
folder="${name}.${count}"
|
||||
dir="$root/$folder"
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user