Package: cdbs
Version: 0.4.46
Severity: serious
Tags: patch

pyversions -vr calls are missing a parameter.

--- python-distutils.mk~        2006-08-05 18:17:40.590635072 +0200
+++ python-distutils.mk 2006-08-05 18:18:36.200181136 +0200
@@ -167,14 +167,14 @@
 cdbs_python_current_version := $(shell pyversions -vd)
 ifeq (all, $(cdbs_python_module_arch))
   # check if current is in build versions
-  ifneq ($(cdbs_python_current_version), $(filter 
$(cdbs_python_current_version), $(shell pyversions -vr)))
-    cdbs_python_compile_version := $(firstword $(strip $(sort $(shell 
pyversions -vr))))
+  ifneq ($(cdbs_python_current_version), $(filter 
$(cdbs_python_current_version), $(shell pyversions -vr debian/control)))
+    cdbs_python_compile_version := $(firstword $(strip $(sort $(shell 
pyversions -vr debian/control))))
     cdbs_python_build_versions := $(cdbs_python_compile_version)
   else
     cdbs_python_build_versions := $(cdbs_python_current_version)
   endif
 else
-cdbs_python_build_versions := $(shell pyversions -vr)
+cdbs_python_build_versions := $(shell pyversions -vr debian/control)
 endif # archall
 
 # check if build is possible


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to