11 lines
246 B
Bash
11 lines
246 B
Bash
#!/bin/sh
|
|
|
|
set -u
|
|
|
|
repositories="/etc /etc/bind/ /usr/share/scripts"
|
|
|
|
for repository in ${repositories}; do
|
|
if [ -d "${repository}/.git" ]; then
|
|
git --git-dir="${repository}/.git" --work-tree="${repository}" status --short
|
|
fi
|
|
done |