From 45cda1fdcc963db4824224af362de780e0d29097 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Tue, 1 Jan 2013 10:51:11 +0100 Subject: Fix version handling for patchers. The working directory will usually be different than the one libtools.make is located in, so make sure to use the correct starting folder for the relative path. Change-Id: I9a84a0573c9f1f32601f31587425689dcf8fb81f --- rbutil/libtools.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rbutil') diff --git a/rbutil/libtools.make b/rbutil/libtools.make index 2afe4d2af0..77142355c6 100644 --- a/rbutil/libtools.make +++ b/rbutil/libtools.make @@ -23,7 +23,7 @@ endif TOP := $(dir $(lastword $(MAKEFILE_LIST))) # overwrite for releases -APPVERSION ?= $(shell $(TOP)/../tools/version.sh ../) +APPVERSION ?= $(shell $(TOP)/../tools/version.sh $(TOP)/..) CFLAGS += -DVERSION=\""$(APPVERSION)"\" TARGET_DIR ?= $(shell pwd)/ -- cgit