summaryrefslogtreecommitdiff
path: root/devel/gitolite/files/patch-src_triggers_post-compile_ssh-authkeys-split
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gitolite/files/patch-src_triggers_post-compile_ssh-authkeys-split')
-rw-r--r--devel/gitolite/files/patch-src_triggers_post-compile_ssh-authkeys-split18
1 files changed, 9 insertions, 9 deletions
diff --git a/devel/gitolite/files/patch-src_triggers_post-compile_ssh-authkeys-split b/devel/gitolite/files/patch-src_triggers_post-compile_ssh-authkeys-split
index 3a367d644072..fca5efb02366 100644
--- a/devel/gitolite/files/patch-src_triggers_post-compile_ssh-authkeys-split
+++ b/devel/gitolite/files/patch-src_triggers_post-compile_ssh-authkeys-split
@@ -1,11 +1,11 @@
---- src/triggers/post-compile/ssh-authkeys-split.orig 2017-07-02 14:01:25 UTC
+--- src/triggers/post-compile/ssh-authkeys-split.orig 2018-07-12 07:50:58 UTC
+++ src/triggers/post-compile/ssh-authkeys-split
-@@ -66,7 +66,7 @@ do
- echo 1>&2 "ssh-authkeys-split: bad line $seq in keydir/$k"
- rm -f $f
- fi
+@@ -73,7 +73,7 @@ do
+ seq=0
+ while read line
+ do
- (( seq++ ))
-+ seq=$(( $seq + 1 ))
- done < $k
-
- # now delete the original file
++ seq=$(( $seq + 1 ))
+ [ -z "$line" ] && continue
+ f=$SKD/$base@$seq.pub
+ echo "$line" > $f