diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2020-09-14 20:07:18 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2020-09-14 20:07:18 -0400 |
| commit | c0f5842a74acd5d88a04e3b1d37b368025895444 (patch) | |
| tree | c1e1ceee35088802b6df6146ca5bb2fcb729b201 /home/list.sh | |
| parent | 7c380585fd57d0dce35113075933199312b7c4ed (diff) | |
| download | alpine-cgit-c0f5842a74acd5d88a04e3b1d37b368025895444.tar.gz alpine-cgit-c0f5842a74acd5d88a04e3b1d37b368025895444.tar.xz | |
Adjust permissions on each run. Also alter list command to pick up on all repos
Diffstat (limited to 'home/list.sh')
| -rwxr-xr-x | home/list.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/home/list.sh b/home/list.sh index c1cba62..b3b8bd9 100755 --- a/home/list.sh +++ b/home/list.sh @@ -1,9 +1,10 @@ #!/bin/sh #shellcheck disable=SC2038 -find . -type d -name branches \ +find . -type f -name HEAD \ | xargs -n1 dirname \ | while read -r repo ; do if ! [ "$(basename "$repo")" = ".git" ] ; then echo "$repo"; fi done + |
