mirrorgit

Simple Script for Mirroring git Repos
git clone git://git.ckyln.com/mirrorgit.git
Log | Files | Refs | README | LICENSE

commit b5d5fbc72dece15b8a2cccc9524d0b3cd2a8bb12
parent 6f87391275507327e2cda2bb5a8242eb10ca8d9c
Author: Cem Keylan <cem@ckyln.com>
Date:   Fri, 21 Jun 2019 11:27:05 +0300

Fixed Bashism

Diffstat:
Mmirrorgit.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mirrorgit.sh b/mirrorgit.sh @@ -49,7 +49,7 @@ MIRRORUSER=\"$touser\"\n" > $HOME/.mirrorgitrc } [ -f $HOME/.mirrorgitrc ] || initialize -source $HOME/.mirrorgitrc +. $HOME/.mirrorgitrc [ -z $FROMHOST ] && printf "You must add your own git repo address beforeyou can use the script\n" && exit 1 [ -z $MIRRORHOST ] && printf "You must add the git repo address you will be mirroring to before you can use this script\n" && exit 1