1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

Disable fixargs() on Solaris (re: 159fb9ee, cefe087d)

It doesn't work on Solaris either.
This commit is contained in:
Martijn Dekker 2021-01-10 18:47:12 +00:00
parent 159fb9ee27
commit 9b7c392a7c
2 changed files with 3 additions and 3 deletions

View file

@ -708,7 +708,7 @@ getPsOutput() {
while [[ $actual == [[:space:]]* ]]; do actual=${actual#?}; done
while [[ $actual == *[[:space:]] ]]; do actual=${actual%?}; done
}
if [[ $(uname -s) != FreeBSD ]] &&
if [[ ! $(uname -s) =~ ^(FreeBSD|SunOS)$ ]] &&
getPsOutput "$$" &&
[[ "$SHELL $0" == "$actual"* ]] # "$SHELL $0" is how shtests invokes this script
then expect='./atest 1 2'