From: Fabien C Date: Sat, 1 Feb 2014 15:07:46 +0000 (+0100) Subject: gen-version.sh: check if git is available before trying to call it X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/e8cacb5981039e7e74921659ea50e287395ed411?hp=e8cacb5981039e7e74921659ea50e287395ed411 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. ---