[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Condition evaluation removed
From: |
Ben Pfaff |
Subject: |
Re: Condition evaluation removed |
Date: |
Thu, 11 Sep 2008 21:06:45 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Paul Smith <address@hidden> writes:
> On Thu, 2008-09-11 at 16:45 +0100, Giles Anderson wrote:
>> export ORAENV_ASK=NO
>> export ORACLE_SID=SID1
>> source oraenv
>
> Not answering your question, but: please don't use this format. This
> results in your configure file being egregiously and needlessly
> bash-specific; it is not portable and will not run with POSIX-compliant
> sh implementations.
This makes it sounds as if "export VAR=VALUE" were bash-specific,
but in fact this syntax is part of POSIX:
http://www.opengroup.org/onlinepubs/009695399/utilities/export.html
"source" is not part of POSIX.
--
Ben Pfaff
http://benpfaff.org