[Pkg-mongodb-maintainers] [pkg-mongodb] 234/394: fixes parsing of parallel option, Closes:#702797

Apollon Oikonomopoulos apoikos at moszumanska.debian.org
Wed Sep 21 13:59:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

apoikos pushed a commit to branch master
in repository pkg-mongodb.

commit d041ec8f9307f461073bee7da38d33caf0850951
Author: Antonin Kral <a.kral at bobek.cz>
Date:   Sun Mar 24 19:21:29 2013 +0100

    fixes parsing of parallel option, Closes:#702797
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index e2c8735..b0f8cb8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,7 +14,7 @@ ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 	DEB_SCONS_OPTIONS := --d=DEBUGBUILD
 endif
 ifneq (,$(findstring parallel,$(DEB_BUILD_OPTIONS)))
-       PROCS=$(subst parallel=,,$(DEB_BUILD_OPTIONS))
+       PROCS=$(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
        DEB_SCONS_OPTIONS += -j$(PROCS)
 endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mongodb/pkg-mongodb.git



More information about the Pkg-mongodb-maintainers mailing list