From eb000babb61a430e93a554344f2f1ee5afa0c7c9 Mon Sep 17 00:00:00 2001 From: Rudy Hardeman Date: Sun, 27 Nov 2016 18:55:44 +0100 Subject: [PATCH] Changed version to auto date version on build --- OpenWRT/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenWRT/Makefile b/OpenWRT/Makefile index cbf7835..b6a04fe 100644 --- a/OpenWRT/Makefile +++ b/OpenWRT/Makefile @@ -4,7 +4,8 @@ X_DOLLAR:=$$ X_SOURCE_DIR:=$(CURDIR)/source PKG_NAME:=cronosagent -PKG_VERSION:=$(shell grep -o -E '[0-9]+' $(CURDIR)/source/Version.h) +#PKG_VERSION:=$(shell grep -o -E '[0-9]+' $(CURDIR)/source/Version.h) +PKG_VERSION:=$(shell date +"%Y%m%d-%H%M%S") PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_BUILD_DEPENDS:=