aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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