From 5debb8c4b7afeb531b1584595343390e4f07b113 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sun, 13 Sep 2020 16:40:54 -0400 Subject: Do not run setup multiple times in a container's life. Also update scripts --- home/list.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 home/list.sh (limited to 'home/list.sh') diff --git a/home/list.sh b/home/list.sh new file mode 100755 index 0000000..c1cba62 --- /dev/null +++ b/home/list.sh @@ -0,0 +1,9 @@ +#!/bin/sh +#shellcheck disable=SC2038 +find . -type d -name branches \ + | xargs -n1 dirname \ + | while read -r repo ; do + if ! [ "$(basename "$repo")" = ".git" ] ; then + echo "$repo"; + fi + done -- cgit v1.2.3