mirror of https://git.zx2c4.com/cgit/
gen-version.sh: check if git is available before trying to call it
Some people may clone the cgit repository and compile within a sandbox or on another machine where git is not necessarily installed. When it happens, cgit is getting compiled with an empty version number. This commit fixes this.jk/collapsible-sections
parent
aa6d5b105d
commit
e8cacb5981
Loading…
Reference in New Issue