mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-21 13:37:56 +00:00
parallel: CPU detection bug on Android fixed.
This commit is contained in:
parent
1ba05d3bb7
commit
95ecf18d0c
|
@ -23,7 +23,7 @@
|
|||
use strict;
|
||||
use Getopt::Long;
|
||||
$Global::progname="niceload";
|
||||
$Global::version = 20191022;
|
||||
$Global::version = 20191023;
|
||||
Getopt::Long::Configure("bundling","require_order");
|
||||
get_options_from_array(\@ARGV) || die_usage();
|
||||
if($opt::version) {
|
||||
|
|
|
@ -2071,7 +2071,7 @@ sub check_invalid_option_combinations() {
|
|||
|
||||
sub init_globals() {
|
||||
# Defaults:
|
||||
$Global::version = 20191022;
|
||||
$Global::version = 20191023;
|
||||
$Global::progname = 'parallel';
|
||||
$::name = "GNU Parallel";
|
||||
$Global::infinity = 2**31;
|
||||
|
@ -7281,7 +7281,7 @@ sub sct_android($) {
|
|||
# 'threads' => #threads
|
||||
# 'active' => #taskset_threads }
|
||||
# Use GNU/Linux
|
||||
return sct_gnu_linux(@_);
|
||||
return sct_gnu_linux($_[0]);
|
||||
}
|
||||
|
||||
sub sct_freebsd($) {
|
||||
|
|
|
@ -1599,7 +1599,7 @@ Overrides an earlier B<--keep-order> (e.g. if set in
|
|||
B<~/.parallel/config>).
|
||||
|
||||
|
||||
=item B<--nice> I<niceness> (beta testing)
|
||||
=item B<--nice> I<niceness>
|
||||
|
||||
Run the command at this niceness.
|
||||
|
||||
|
@ -2191,7 +2191,7 @@ Only supported in B<Ash, Bash, Dash, Ksh, Sh, and Zsh>.
|
|||
See also B<--env>, B<--record-env>.
|
||||
|
||||
|
||||
=item B<--shard> I<shardexpr> (beta testing)
|
||||
=item B<--shard> I<shardexpr>
|
||||
|
||||
Use I<shardexpr> as shard key and shard input to the jobs.
|
||||
|
||||
|
|
Loading…
Reference in a new issue