Meow meow! Applied patches sent by LadySerenaKitty for improved FreeBSD compatibility.
[citadel.git] / citadel / scripts / mk_svn_revision.sh
index 144ffa4ab9d7e5c6cf2a02bc33b3d495324fa800..9a68d27bdcad44fe08ab4c39e8c421e9341af427 100755 (executable)
@@ -25,7 +25,7 @@ if test -d $SRC_DIR/.svn  ; then
 else 
     if test -d $SRC_DIR/../.git  ; then
        echo "have Git repository."
-       BUILD=`/usr/bin/git log -1 --pretty=%h . `
+       BUILD=`/usr/bin/env git log -1 --pretty=%h . `
        echo "This code base git-revision: $BUILD"
        CAN_BUILD_SVN_REVISION="yes"
     else