summaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2020-08-29 15:31:23 +0000
committerGlen Barber <gjb@FreeBSD.org>2020-08-29 15:31:23 +0000
commit9fb61eb199944b0d49cdd32d0a8ec82e72a6f613 (patch)
treefd9262109f3ceee52a2b0aa3f670a7c56bbdc314 /release
parent52a8a2de0f17b321b9b82dbbd4951a37d11aa0da (diff)
downloadsrc-test-9fb61eb199944b0d49cdd32d0a8ec82e72a6f613.tar.gz
src-test-9fb61eb199944b0d49cdd32d0a8ec82e72a6f613.zip
Indentation fixes. No functional changes.
Sponsored by: Rubicon Communications, LLC (netgate.com)
Notes
Notes: svn path=/head/; revision=364958
Diffstat (limited to 'release')
-rw-r--r--release/Makefile.inc116
1 files changed, 8 insertions, 8 deletions
diff --git a/release/Makefile.inc1 b/release/Makefile.inc1
index 00a6861686c46..d9b4b6b393d33 100644
--- a/release/Makefile.inc1
+++ b/release/Makefile.inc1
@@ -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.