pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Errors on Solaris


From: Ben Pfaff
Subject: Re: Errors on Solaris
Date: Thu, 29 May 2008 09:08:55 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

John Darrington <address@hidden> writes:

> The only two test failures now should be two which use $PPID which is
> a bash thing and non-portable.

We could do something like
        if test -z "$PPID"; then
            exit 77             # Make automake ignore this test
        fi
to cater to systems that don't have it.

But it's not a bashism.  This is what SUSv3 says:

PPID
    Set by the shell to the decimal process ID of the process
    that invoked this shell. In a subshell (see Shell Execution
    Environment), PPID shall be set to the same value as that of
    the parent of the current shell. For example, echo $ PPID and
    ( echo $ PPID ) would produce the same value. This volume of
    IEEE Std 1003.1-2001 specifies the effects of the variable
    only for systems supporting the User Portability Utilities
    option.
-- 
Ben Pfaff 
http://benpfaff.org




reply via email to

[Prev in Thread] Current Thread [Next in Thread]