From d0d5ec92b6413532d6b51a55f3ccb279b6795df8 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Mon, 10 Jun 2013 12:02:30 +0200 Subject: [PATCH] ports/libports: Use repository-local PWD The PWD variable contains the current working directory of the original location where 'make -C' is executed, not the directory specified as argument of '-C'. The tools referenced by ports/libports, however, expect PWD to point to the root of the respective repository. --- libports/Makefile | 4 ++-- ports/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libports/Makefile b/libports/Makefile index 2913b4afeb..82cf26c033 100644 --- a/libports/Makefile +++ b/libports/Makefile @@ -15,8 +15,8 @@ DOWNLOAD_DIR = download CONTRIB_DIR = contrib GNU_FIND = find SHELL = bash -SIGVERIFIER = $(PWD)/../tool/download_sigver -HASHVERIFIER = $(PWD)/../tool/download_hashver +SIGVERIFIER = $(CURDIR)/../tool/download_sigver +HASHVERIFIER = $(CURDIR)/../tool/download_hashver # # Create download and contrib directory so that '.mk' files diff --git a/ports/Makefile b/ports/Makefile index 869f563843..7727f72888 100644 --- a/ports/Makefile +++ b/ports/Makefile @@ -15,8 +15,8 @@ DOWNLOAD_DIR = download CONTRIB_DIR = contrib GNU_FIND = find SHELL = bash -SIGVERIFIER = $(PWD)/../tool/download_sigver -HASHVERIFIER = $(PWD)/../tool/download_hashver +SIGVERIFIER = $(CURDIR)/../tool/download_sigver +HASHVERIFIER = $(CURDIR)/../tool/download_hashver # # Create download and contrib directory so that '.mk' files