Remove unnecessary substitution of commas in $DEB_BUILD_OPTIONS

svn path=/dists/trunk/linux-2.6/; revision=14759
This commit is contained in:
Ben Hutchings 2009-12-09 00:44:51 +00:00
parent 85e68072d5
commit 5b01abc39a
1 changed files with 2 additions and 3 deletions

5
debian/rules.real vendored
View File

@ -19,9 +19,8 @@ include debian/rules.defs
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)