]> gitweb.ps.run Git - ps-cgit/commitdiff
gen-version.sh: check if git is available before trying to call it
authorFabien C <t74jgwb88tli9ch@jetable.org>
Sat, 1 Feb 2014 15:07:46 +0000 (16:07 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 5 Feb 2014 14:09:15 +0000 (15:09 +0100)
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.


No differences found