From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D52C3138A87 for ; Mon, 23 Feb 2015 22:48:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BDD58E07EB; Mon, 23 Feb 2015 22:48:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5E641E07EB for ; Mon, 23 Feb 2015 22:48:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2B30C340953 for ; Mon, 23 Feb 2015 22:48:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 05EFA1268B for ; Mon, 23 Feb 2015 22:48:01 +0000 (UTC) From: "Robin H. Johnson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" Message-ID: <1424731675.ac9ef0ae25fb4c814c4a2016ba48173ca67e947d.robbat2@gentoo> Subject: [gentoo-commits] proj/ag:master commit in: / X-VCS-Repository: proj/ag X-VCS-Files: ag X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: ac9ef0ae25fb4c814c4a2016ba48173ca67e947d X-VCS-Branch: master Date: Mon, 23 Feb 2015 22:48:01 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 57ec75d5-dd6a-4f68-b767-80e6c306b510 X-Archives-Hash: a06adff8c77b3a1ee895b0dacbe81977 commit: ac9ef0ae25fb4c814c4a2016ba48173ca67e947d Author: Robin H. Johnson gentoo org> AuthorDate: Mon Feb 23 22:47:55 2015 +0000 Commit: Robin H. Johnson gentoo org> CommitDate: Mon Feb 23 22:47:55 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/ag.git;a=commit;h=ac9ef0ae Ensure job count is an integer. Signed-off-by: Robin H. Johnson gentoo.org> --- ag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ag b/ag index 027ca23..6574dca 100755 --- a/ag +++ b/ag @@ -96,7 +96,7 @@ op = OptionParser.new do |opts| end opts.on('--jobs JOBS', 'Number of parallel jobs to run (defaults to 75% of core count)') do |jobs| - $options.jobs = jobs + $options.jobs = jobs.to_i end end op.parse!