/usr/Makefile: Use ${GITHOST} for the shallow clone too.
authorSascha Wildner <saw@online.de>
Fri, 25 Mar 2011 18:51:13 +0000 (19:51 +0100)
committerSascha Wildner <saw@online.de>
Fri, 25 Mar 2011 18:51:13 +0000 (19:51 +0100)
Reported-by: John Marino <john@marino.st>
etc/Makefile.usr

index 704469a..b6eede0 100644 (file)
@@ -85,7 +85,7 @@ src-create-shallow:
        mkdir -p ${.CURDIR}/src
        cd ${.CURDIR}/src && git init
        cd ${.CURDIR}/src && \
-           git remote add origin git://git.dragonflybsd.org/dragonfly.git
+           git remote add origin git://${GITHOST}/dragonfly.git
        cd ${.CURDIR}/src && git fetch --depth=1 origin
        cd ${.CURDIR}/src && git branch master origin/master
        cd ${.CURDIR}/src && git checkout master