Checkout master after clone
authorMatthias Schmidt <matthias@dragonflybsd.org>
Mon, 1 Dec 2008 08:12:11 +0000 (09:12 +0100)
committerMatthias Schmidt <matthias@dragonflybsd.org>
Mon, 1 Dec 2008 08:12:11 +0000 (09:12 +0100)
etc/Makefile.usr

index a928b2d..c12fd64 100644 (file)
@@ -52,7 +52,8 @@ git-clone:
                echo "Please install devel/scmgit from pkgsrc"; \
                exit 1; \
        fi; \
-       git clone -o crater -n git://crater.dragonflybsd.org/dragonfly.git src
+       git clone -o crater -n git://crater.dragonflybsd.org/dragonfly.git src; \
+       cd src && git checkout master
 
 git-update:
        @cd ${.CURDIR}/src; \