From 9b06fa70b6fd5396614093965339187ac11061b4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 25 Feb 2012 17:03:35 -0500 Subject: [PATCH] get # cpus via getconf --- .bin/flac2mp3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bin/flac2mp3 b/.bin/flac2mp3 index 5fbbdd6..4be5834 100755 --- a/.bin/flac2mp3 +++ b/.bin/flac2mp3 @@ -1,6 +1,6 @@ #!/bin/bash -maxj=4 +maxj=`getconf _NPROCESSORS_ONLN` jobs=() [[ $# -eq 0 ]] && set -- *.flac -- 2.39.5