Changeset 41a4032 for Config.in


Ignore:
Timestamp:
12/09/2023 02:39:43 PM (10 months ago)
Author:
Pierre Labastie <pierre.labastie@…>
Branches:
trunk
Children:
fb7af8c
Parents:
35094ed
Message:

"&>" is not recognized by some shells

Since jhalfs may be run on dsitros where the default shell invoked
by python is not bash, it may happen that "&>" does not produce
the expected result. Fix by using the "posix" way: ">xxx 2>&1".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Config.in

    r35094ed r41a4032  
    11# Check for "nproc" presence:
    22config HAVE_NPROC
    3     def_bool $(shell,if nproc &>/dev/null; then echo y; else echo n; fi)
     3    def_bool $(shell,if nproc >/dev/null 2>&1; then echo y; else echo n; fi)
    44
    55# Check for "cpuset controller in cgroup v2" presence:
Note: See TracChangeset for help on using the changeset viewer.