jhalfs git · trunk
jhalfs LFS build automation (mirror)
Python 78.4% Shell 19.8% Makefile 1.8%git clone https://git.christianimmanuel.de/mirrors-forks/jhalfs.gitwget https://git.christianimmanuel.de/mirrors-forks/jhalfs/archive/jhalfs.tar.gz"&>" 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".
Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Config.in b/Config.in index ef3779e..63eef43 100644 --- a/Config.in +++ b/Config.in @@ -1,6 +1,6 @@ # Check for "nproc" presence: config HAVE_NPROC - def_bool $(shell,if nproc &>/dev/null; then echo y; else echo n; fi) + def_bool $(shell,if nproc >/dev/null 2>&1; then echo y; else echo n; fi) # Check for "cpuset controller in cgroup v2" presence: config HAVE_CGROUP