mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 18:12:57 +01:00
Explicitly verify if we have found the VERSION_GEN script
instead of passing the possibly null argument to awk(1) and getting an obscure error from it.
This commit is contained in:
parent
9a09d70af1
commit
479f84ca4d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172755
@ -34,6 +34,9 @@ _vgen= ${path}/${VERSION_GEN}
|
||||
.endif
|
||||
.endif
|
||||
.endfor
|
||||
.if empty(_vgen)
|
||||
.error ${VERSION_GEN} not found in the search path.
|
||||
.endif
|
||||
|
||||
# Run the symbol maps through the C preprocessor before passing
|
||||
# them to the symbol version generator.
|
||||
|
Loading…
Reference in New Issue
Block a user