git: DragonFly_RELEASE_6_4 nrelease: Check GITREV and just fail if empty

Aaron LI aly at crater.dragonflybsd.org
Mon Apr 28 02:52:55 PDT 2025


commit 0a0089b65f09e539a0c26f0a753aa1864d5a4c83
Author: Aaron LI <aly at aaronly.me>
Date:   Mon Apr 28 17:48:14 2025 +0800

    nrelease: Check GITREV and just fail if empty
    
    The GITREV variable is determined by the tools/gitrev.sh script, which
    might fail if the current user has insufficient permission to access the
    source directory.  That would cause the `uname` to output something
    strange that could confuse people.  So I think it's better to just fail
    the build and require a fix to the build environment.
    
    Reported-by: JustinS

Summary of changes:
 nrelease/Makefile | 3 +++
 1 file changed, 3 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0a0089b65f09e539a0c26f0a753aa1864d5a4c83


-- 
DragonFly BSD source repository


More information about the Commits mailing list