blob: ebee2aa3cd4f6c4696b2cc1c6b4fc4b3d9d34c29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
diff --git a/tools/version.sh b/tools/version.sh
index 8df33e175..1293d1578 100755
--- a/tools/version.sh
+++ b/tools/version.sh
@@ -3,7 +3,6 @@ srcdir="$2"
# If no git repo try to read from the existing git_version.h, for building from tarballs
version_h_path="${builddir}/git_version.h"
-if ! test -d "${srcdir}/.git"; then
if test -f "${version_h_path}"; then
while read line; do
set -- $line
@@ -19,7 +18,6 @@ if ! test -d "${srcdir}/.git"; then
echo "git repo not found and no cached git_version.h"
exit 2
fi
-fi
osx_bundle_sed_path="${builddir}/osx-bundle.sed"
last_svn_revision=6962
|