Port to Python 3
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Sat, 14 Sep 2019 08:02:15 +0000 (10:02 +0200)
committerJochen Sprickerhof <jspricke@debian.org>
Thu, 3 Dec 2020 18:23:37 +0000 (18:23 +0000)
Gbp-Pq: Name 0017-Port-to-Python-3.patch

Makefile

index a436a84f34c7a480ffb4a22c889776811b3c207c..2621d9a4ac8767623456d40fdff006ad4aaa568f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -24,7 +24,7 @@ ifeq ("$(OSTYPE)","Darwin")
 else
        OS_NAME = Linux
 endif
-PRODUCT_STRING = OpenNI-$(OS_NAME)-$(PLATFORM)-$(shell cd Packaging && python -c "import UpdateVersion; print UpdateVersion.getVersionName()" && cd ..)
+PRODUCT_STRING = OpenNI-$(OS_NAME)-$(PLATFORM)-$(shell cd Packaging && python3 -c "import UpdateVersion; print UpdateVersion.getVersionName()" && cd ..)
 FINAL_DIR = Packaging/Final
 
 OPENNI = Source/Core