About this list Date view Thread view Subject view Author view Attachment view

From: Paul Sladen (vserver_at_paul.sladen.org)
Date: Sun 22 Dec 2002 - 21:26:27 GMT


On Sat, 21 Dec 2002, Ken Stanley wrote:
> The script runs, [...], but the environment variables do not work.

The script will only set the variables within its own environment (and its
children's).

If you want to run it in the *current* shell's environment, then:

  $ . {...}/path-to-script

see also (and equivalent to):

  $ source {...}/path-to-script

        -Paul

-- 
Nottingham, GB


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 22 Dec 2002 - 21:38:50 GMT by hypermail 2.1.3