#!/bin/sh

cd ${WRKSRC}

# Create dummy repo for jgit
if [ ! -d .git ]; then
	mkdir ${WRKDIR}/githome
	(
		export HOME=${WRKDIR}/githome
		git config --global user.email "ports@MidnightBSD.org"
		git config --global user.name "mports"
		git init
		git add .
		git commit -q --message="java/eclipse" --author="mports <ports@MidnightBSD.org>"
	)
fi
