[kernel] r14759 - dists/trunk/linux-2.6/debian

Ben Hutchings benh at alioth.debian.org
Wed Dec 9 00:44:53 UTC 2009


Author: benh
Date: Wed Dec  9 00:44:51 2009
New Revision: 14759

Log:
Remove unnecessary substitution of commas in $DEB_BUILD_OPTIONS

Modified:
   dists/trunk/linux-2.6/debian/rules.real

Modified: dists/trunk/linux-2.6/debian/rules.real
==============================================================================
--- dists/trunk/linux-2.6/debian/rules.real	Tue Dec  8 23:15:38 2009	(r14758)
+++ dists/trunk/linux-2.6/debian/rules.real	Wed Dec  9 00:44:51 2009	(r14759)
@@ -19,9 +19,8 @@
 
 stamp = [ -d $(dir $@) ] || mkdir $(dir $@); touch $@
 
-ifneq (,$(findstring parallel=,$(DEB_BUILD_OPTIONS)))
-  comma := ,
-  DEBIAN_KERNEL_JOBS := $(subst parallel=,,$(filter parallel=%,$(subst $(comma), ,$(DEB_BUILD_OPTIONS))))
+ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
+  DEBIAN_KERNEL_JOBS := $(subst parallel=,,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
 endif
 ifdef DEBIAN_KERNEL_JOBS
   JOBS_ARG = -j$(DEBIAN_KERNEL_JOBS)



More information about the Kernel-svn-changes mailing list