home/git: fix maintenance preexec script
This commit is contained in:
@@ -348,7 +348,7 @@ in
|
|||||||
echo "[maintenance]"
|
echo "[maintenance]"
|
||||||
for repoLocation in ${repoDirs}; do
|
for repoLocation in ${repoDirs}; do
|
||||||
for repo in "$repoLocation"/*/.git; do
|
for repo in "$repoLocation"/*/.git; do
|
||||||
echo "repo = $(realpath "''${repo%"/.git"}")"
|
echo "repo = $("${pkgs.coreutils}/bin/realpath" "''${repo%"/.git"}")"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
} > "$1"
|
} > "$1"
|
||||||
|
Reference in New Issue
Block a user