From 176fd570e672e7307710e448eb51c08b7f9853d8 Mon Sep 17 00:00:00 2001 From: Marco Varlese Date: Tue, 28 Nov 2017 14:50:45 +0100 Subject: Using $(CURDIR) to fix the absolute path issue Change-Id: Ic26edd34a2980fc8cf34514433a7b7076660316e Signed-off-by: Marco Varlese --- extras/rpm/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/rpm/Makefile b/extras/rpm/Makefile index f4b63b6684c..4ec1e622616 100644 --- a/extras/rpm/Makefile +++ b/extras/rpm/Makefile @@ -44,7 +44,7 @@ RPM: mkdir -p RPMS SOURCES cp $(TARBALL) SOURCES/vpp-$(VERSION)-$(RELEASE).tar.xz rpmbuild -bb \ - --define "_topdir $(PWD)" \ + --define "_topdir $(CURDIR)" \ --define "_version $(VERSION)" \ --define "_release $(RELEASE)" \ vpp-suse.spec -- cgit 1.2.3-korg