From 2ef85eb81a90381adb291a0bfd526bae12623eef Mon Sep 17 00:00:00 2001 From: Steven Rostedt Date: Mon, 13 Aug 2012 10:23:02 -0400 Subject: [PATCH] --- yaml --- r: 323697 b: refs/heads/master c: c883122acc0d97648d8b8f4726709017674e4420 h: refs/heads/master i: 323695: d6ae7852f65947a0fd6a58eae012253f373c66de v: v3 --- [refs] | 2 +- trunk/tools/scripts/Makefile.include | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 4e9f69add5df..8f6715d5f347 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0c21f736e0a37c50f66ab248d2a52f711b28a4e4 +refs/heads/master: c883122acc0d97648d8b8f4726709017674e4420 diff --git a/trunk/tools/scripts/Makefile.include b/trunk/tools/scripts/Makefile.include index bde8521d56bb..96ce80a3743b 100644 --- a/trunk/tools/scripts/Makefile.include +++ b/trunk/tools/scripts/Makefile.include @@ -1,6 +1,8 @@ ifeq ("$(origin O)", "command line") - OUTPUT := $(O)/ - COMMAND_O := O=$(O) + dummy := $(if $(shell test -d $(O) || echo $(O)),$(error O=$(O) does not exist),) + ABSOLUTE_O := $(shell cd $(O) ; pwd) + OUTPUT := $(ABSOLUTE_O)/ + COMMAND_O := O=$(ABSOLUTE_O) endif ifneq ($(OUTPUT),)