home/git: fix maintenance preexec script

This commit is contained in:
2025-05-04 14:26:26 +02:00
parent e55dcc2584
commit f667e77cdb

View File

@@ -348,7 +348,7 @@ in
echo "[maintenance]"
for repoLocation in ${repoDirs}; do
for repo in "$repoLocation"/*/.git; do
echo "repo = $(realpath "''${repo%"/.git"}")"
echo "repo = $("${pkgs.coreutils}/bin/realpath" "''${repo%"/.git"}")"
done
done
} > "$1"