mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
fix build non-svn checkouts post r336593
The change made in r336593 assumes that the build is happening in a svn checkout resulting in misleading debug output. Check that we're actually working in an svn checkout before proceeding to call svn.
This commit is contained in:
parent
8407faa1b3
commit
87faf66318
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336621
@ -15,8 +15,13 @@ SVN_CMD= ${_P}/${_S}
|
||||
. endfor
|
||||
. endfor
|
||||
.endif
|
||||
.if exists($SRCTOP/.svn)
|
||||
EC2_SVNBRANCH!= ${SVN_CMD} info --show-item relative-url ${WORLDDIR} | sed -e 's/\^\///'
|
||||
EC2_SVNREV!= ${SVN_CMD} info --show-item last-changed-revision ${WORLDDIR}
|
||||
.else
|
||||
EC2_SVNBRANCH= unknown
|
||||
EC2_SVNREV= unknown
|
||||
.endif
|
||||
|
||||
.if ${BRANCH} == "CURRENT" || ${BRANCH} == "STABLE" || ${BRANCH} == "PRERELEASE"
|
||||
AMINAMESUFFIX!= date +-%Y-%m-%d
|
||||
|
Loading…
Reference in New Issue
Block a user