From 74f0e2cc39308b992510b32d0aab25afc3572cd7 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Thu, 21 Mar 2019 20:36:23 +0000 Subject: [PATCH] Makefile.rules: Normalize use of trailing slashes in path variables. llvm-svn: 356711 --- lldb/packages/Python/lldbsuite/test/make/Makefile.rules | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules index 9cf5d9ddba2b..ecfed7efc537 100644 --- a/lldb/packages/Python/lldbsuite/test/make/Makefile.rules +++ b/lldb/packages/Python/lldbsuite/test/make/Makefile.rules @@ -28,10 +28,10 @@ # Uncomment line below for debugging shell commands # SHELL = /bin/sh -x -SRCDIR := $(shell dirname $(firstword $(MAKEFILE_LIST)))/ +SRCDIR := $(shell dirname $(firstword $(MAKEFILE_LIST))) BUILDDIR := $(shell pwd) -THIS_FILE_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))/ -LLDB_BASE_DIR := $(THIS_FILE_DIR)../../../../../ +THIS_FILE_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST))) +LLDB_BASE_DIR := $(THIS_FILE_DIR)/../../../../../ #---------------------------------------------------------------------- # If OS is not defined, use 'uname -s' to determine the OS name. @@ -275,7 +275,7 @@ endif CFLAGS += -I$(SRCDIR) -I$(THIS_FILE_DIR) ifndef NO_TEST_COMMON_H - CFLAGS += -include $(THIS_FILE_DIR)test_common.h + CFLAGS += -include $(THIS_FILE_DIR)/test_common.h endif CFLAGS += $(NO_LIMIT_DEBUG_INFO_FLAGS) $(ARCH_CFLAGS) $(CFLAGS_EXTRAS)