John Darrington <[EMAIL PROTECTED]> 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


_______________________________________________
pspp-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/pspp-dev

Reply via email to