Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/java/eclipse/scripts/pre-build
18160 views
#!/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 "[email protected]"
		git config --global user.name "Eclipse"
		git init
		git add .
		git commit -q --message="java/eclipse" --author="Eclipse <[email protected]>"
	)
fi