Browse Source

repo-list: use $((...)) instead of let

Signed-off-by: Alejandro Mery <amery@hanoverdisplays.com>
master
Alejandro Mery 7 years ago
committed by Alejandro Mery
parent
commit
ae576f82fd
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      files/bin/repo-list

+ 2
- 1
files/bin/repo-list

@ -8,7 +8,8 @@ ls_r() {
local x= d=
shift 2
let count-- || return
count=$(($count - 1))
[ $count -gt 0 ] || return
[ ! -e "$base/.git" ] || echo "${base#./}"

Loading…
Cancel
Save