opnsense-ports/java/eclipse/scripts/pre-build
Franco Fichtner 86abf5ac44 */*: sync with upstream
Taken from: FreeBSD
2024-10-07 20:26:56 +02:00

16 lines
345 B
Bash

#!/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 "eclipse@freebsd.org"
git config --global user.name "Eclipse"
git init
git add .
git commit -q --message="java/eclipse" --author="Eclipse <eclipse@freebsd.org>"
)
fi