summaryrefslogtreecommitdiff
path: root/devel/gitolite/files/patch-src_triggers_post-compile_ssh-authkeys-split
blob: 3a367d6440721d22a668ed031985ed42496cf3c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/triggers/post-compile/ssh-authkeys-split.orig	2017-07-02 14:01:25 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
-        (( seq++ ))
+        seq=$(( $seq + 1 ))
     done < $k
 
     # now delete the original file