Signed-off-by: Paymon MARANDI <[email protected]>
---
version.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/version.sh b/version.sh
index fc1ed7d..8759e3f 100755
--- a/version.sh
+++ b/version.sh
@@ -18,6 +18,11 @@ fi
if test -z "$mb"; then
# still no upstream, so just describe HEAD as-is.
gver=$(git describe --tags HEAD)
+ # one case this could happen is a shallow clone, purely for build
+ # purposes
+ if test -z "$gver"; then
+ gver="git-shallow"
+ fi
else
# find out whether we have local work, and if so, collapse it into
# a single suffix. otherwise, we'd cause pointless rebuilds during
--
2.47.0
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel