summaryrefslogtreecommitdiffstats
path: root/local
diff options
context:
space:
mode:
Diffstat (limited to 'local')
-rwxr-xr-xlocal/hooks/repo-specific/pred-tv-mirror2
-rwxr-xr-xlocal/hooks/repo-specific/srht-mirror2
2 files changed, 2 insertions, 2 deletions
diff --git a/local/hooks/repo-specific/pred-tv-mirror b/local/hooks/repo-specific/pred-tv-mirror
index 6487147..19489b9 100755
--- a/local/hooks/repo-specific/pred-tv-mirror
+++ b/local/hooks/repo-specific/pred-tv-mirror
@@ -1 +1 @@
-git push --mirror git@gitlab.inria.fr:pred-tv/$GL_REPO.git \ No newline at end of file
+git push --mirror git@gitlab.inria.fr:pred-tv/$(echo $GL_REPO | sed -r -e 's:(private/)?(forks/)?(.*):\3:') \ No newline at end of file
diff --git a/local/hooks/repo-specific/srht-mirror b/local/hooks/repo-specific/srht-mirror
index 6d603fd..d514593 100755
--- a/local/hooks/repo-specific/srht-mirror
+++ b/local/hooks/repo-specific/srht-mirror
@@ -1 +1 @@
-git push --mirror git@git.sr.ht:~ymherklotz/$(echo $GL_REPO | sed -r -e 's:(private/)?(.*):\2:')
+git push --mirror git@git.sr.ht:~ymherklotz/$(echo $GL_REPO | sed -r -e 's:(private/)?(forks/)?(.*):\3:')