23 lines
703 B
Diff
23 lines
703 B
Diff
|
diff --git a/libuuu/gen_ver.sh b/libuuu/gen_ver.sh
|
||
|
index d4e8c1ba..8f416322 100755
|
||
|
--- a/libuuu/gen_ver.sh
|
||
|
+++ b/libuuu/gen_ver.sh
|
||
|
@@ -13,10 +13,10 @@ else
|
||
|
fi
|
||
|
|
||
|
# Test if we are in a repo
|
||
|
-if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ];
|
||
|
-then
|
||
|
- #echo "In a repo"
|
||
|
- # Get the version of the last commit of the repo
|
||
|
- version=`git describe --tags --long`
|
||
|
- echo "#define GIT_VERSION \"lib$version\"" > $file_to_write
|
||
|
-fi
|
||
|
+#if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" = "true" ];
|
||
|
+#then
|
||
|
+# #echo "In a repo"
|
||
|
+# # Get the version of the last commit of the repo
|
||
|
+# version=`git describe --tags --long`
|
||
|
+# echo "#define GIT_VERSION \"lib$version\"" > $file_to_write
|
||
|
+#fi
|