logo

utils

~/.local/bin tools and git-hooks git clone https://hacktivis.me/git/utils.git
commit: e9fe2864d8c33afe52a6e9cc11d32e2cccbd39c2
parent 6dc013c60bfa73be20a7520e1e32186e9e170594
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 11 Jul 2017 17:35:37 +0200

git-hooks/post-update: Fix subtitution regex

Diffstat:

Mgit-hooks/post-update2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-hooks/post-update b/git-hooks/post-update @@ -1,5 +1,5 @@ #!/bin/sh -base=$(pwd|sed 's/.git//') +base=$(pwd|sed 's|\.git$||') update_f=' * Updating %s…' is_ok(){ echo ' [OK]'; }