mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-13 04:32:09 +01:00
14 lines
491 B
Diff
14 lines
491 B
Diff
Index: src/Makefile.am
|
|
===================================================================
|
|
--- src/Makefile.am (revision 2717)
|
|
+++ src/Makefile.am (working copy)
|
|
@@ -19,7 +19,7 @@
|
|
REVISION=""; \
|
|
fi; \
|
|
fi; \
|
|
- if test -z "$$REVISION" -a -x "`which git`"; then \
|
|
+ if test -z "$$REVISION" -a -d "$(top_srcdir)/.git" -a -x "`which git`"; then \
|
|
REVISION="$$(cd "$(top_srcdir)"; LANG= LC_ALL=C git describe --always 2>/dev/null || echo)"; \
|
|
fi; \
|
|
if test -n "$$REVISION"; then \
|