Indentation fixes. No functional changes.

Sponsored by:	Rubicon Communications, LLC (netgate.com)
This commit is contained in:
Glen Barber 2020-08-29 15:31:23 +00:00
parent 52a8a2de0f
commit 9fb61eb199
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364958

View file

@ -13,19 +13,19 @@ GIT_CMD= ${_P}/git
.if !empty(GIT_CMD) && exists(${GIT_CMD})
# Set the git branch and hash to export where needed.
.if !defined(GITBRANCH) || empty(GITBRANCH)
. if !defined(GITBRANCH) || empty(GITBRANCH)
GITBRANCH!= ${GIT_CMD} -C ${.CURDIR} rev-parse --abbrev-ref HEAD 2>/dev/null | sed -e 's/\^\///'
.export GITBRANCH
.endif
.if !defined(GITREV) || empty(GITREV)
. export GITBRANCH
. endif
. if !defined(GITREV) || empty(GITREV)
GITREV!= ${GIT_CMD} -C ${.CURDIR} rev-parse --verify --short HEAD 2>/dev/null || true
.export GITREV
.endif
. export GITREV
. endif
.else
GITBRANCH= nullbranch
GITREV= nullhash
.export GITBRANCH
.export GITREV
. export GITBRANCH
. export GITREV
.endif
# Set the build date, primarily for snapshot builds.