From e8aa03ecb65f8193473643ad6624f30184d5c796 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Sat, 10 Jun 2023 12:52:02 +0200 Subject: [PATCH] =?UTF-8?q?Correction=20:=20dans=20la=20trame=20de=20mise?= =?UTF-8?q?=20=C3=A0=20jour=20des=20d=C3=A9p=C3=B4ts=20Git,=20expansion=20?= =?UTF-8?q?de=20la=20variable=20HOME=20plut=C3=B4t=20que=20tilde=20qui=20n?= =?UTF-8?q?e=20fonctionne=20pas=20dans=20le=20contexte?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- share/updateall/commands.d/git | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/updateall/commands.d/git b/share/updateall/commands.d/git index eff506a..4a2fd82 100755 --- a/share/updateall/commands.d/git +++ b/share/updateall/commands.d/git @@ -1,5 +1,5 @@ #!/bin/sh -if cd "${1:-~/Git}"; then +if cd "${1:-${HOME}/Git}"; then for repo in *; do cd "$repo" git pull