pmaports/main/uuu/ignore-git-version.patch
Bart Ribbers 26cfbcc4c9
main/uuu: fix linting issues (!872)
[ci:ignore-count]
[ci:skip-vercheck]
2020-01-17 18:54:33 +01:00

22 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