summaryrefslogtreecommitdiffstats
path: root/extras/rpm
diff options
context:
space:
mode:
Diffstat (limited to 'extras/rpm')
-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