]> git.wh0rd.org Git - home.git/commitdiff
get # cpus via getconf
authorMike Frysinger <vapier@gentoo.org>
Sat, 25 Feb 2012 22:03:35 +0000 (17:03 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:44 +0000 (15:36 -0400)
.bin/flac2mp3

index 5fbbdd694bdf8cda74cf6da10bfa56127a1c86ee..4be5834d2fb457e7c4b5bdb9f128c28c31a87844 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-maxj=4
+maxj=`getconf _NPROCESSORS_ONLN`
 jobs=()
 
 [[ $# -eq 0 ]] && set -- *.flac