summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Varlese <marco.varlese@suse.com>2017-11-28 14:50:45 +0100
committerDamjan Marion <dmarion.lists@gmail.com>2017-11-29 10:10:53 +0000
commit176fd570e672e7307710e448eb51c08b7f9853d8 (patch)
tree21d34a599384e6ca65642ee5e2f74947671d6dba
parent0a32b60cf0ac8362360f0cf0a50ec27103c79f28 (diff)
Using $(CURDIR) to fix the absolute path issue
Change-Id: Ic26edd34a2980fc8cf34514433a7b7076660316e Signed-off-by: Marco Varlese <marco.varlese@suse.com>
-rw-r--r--extras/rpm/Makefile2
1 files changed, 1 insertions, 1 deletions
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