aboutsummaryrefslogtreecommitdiffstats
path: root/core/apk-tools/version.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/apk-tools/version.patch')
-rw-r--r--core/apk-tools/version.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/core/apk-tools/version.patch b/core/apk-tools/version.patch
deleted file mode 100644
index f1bec3b321..0000000000
--- a/core/apk-tools/version.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/Make.rules b/Make.rules
-index c864064..81881a7 100644
---- a/Make.rules
-+++ b/Make.rules
-@@ -47,7 +47,7 @@ export srctree objtree
- ##
- # Consult SCM for better version string.
-
--GIT_REV := $(shell git describe || echo exported)
-+GIT_REV := $(shell test -d .git && git describe || echo exported)
- ifneq ($(GIT_REV), exported)
- FULL_VERSION := $(patsubst $(PACKAGE)-%,%,$(GIT_REV))
- FULL_VERSION := $(patsubst v%,%,$(FULL_VERSION))