mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
31 lines
935 B
Plaintext
31 lines
935 B
Plaintext
From 1959247632b826daf39f444d063fc637e8ac018f Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Przemys=C5=82aw=20S=C5=82aby?= <przemub@przemub.pl>
|
|
Date: Mon, 18 May 2020 18:08:03 +0100
|
|
Subject: [PATCH] Disable ps processing due to Haiku's team/thread model
|
|
|
|
|
|
diff --git a/src/parallel b/src/parallel
|
|
index 7e9f512..93ba40a 100755
|
|
--- a/src/parallel
|
|
+++ b/src/parallel
|
|
@@ -2241,7 +2241,7 @@ sub parse_options(@) {
|
|
## Shell
|
|
#
|
|
$Global::shell = $ENV{'PARALLEL_SHELL'} || parent_shell($$)
|
|
- || $ENV{'SHELL'} || "/bin/sh";
|
|
+ || $ENV{'SHELL'} || "/bin/bash";
|
|
if(not -x $Global::shell and not which($Global::shell)) {
|
|
::error("Shell '$Global::shell' not found.");
|
|
wait_and_exit(255);
|
|
@@ -6662,6 +6662,7 @@ sub which(@) {
|
|
'dragonfly' => $bsd,
|
|
'freebsd' => $bsd,
|
|
'gnu' => $sysv,
|
|
+ 'haiku' => "echo ps not supported",
|
|
'hpux' => $sysv,
|
|
'linux' => $sysv,
|
|
'mirbsd' => $bsd,
|
|
--
|
|
2.42.0
|
|
|