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

From: Ken Stanley (kstanley_at_kasystems.com)
Date: Sat 21 Dec 2002 - 21:17:54 GMT


That worked, can you tell me why ./script doesn't work? Also the script I
created I want to run at startup, how can I make that ". script" work for a
startup script?

Thanks!
----- Original Message -----
From: "Andreas Kostyrka" <andreas_at_mtg.co.at>
To: <vserver_at_solucorp.qc.ca>
Sent: Saturday, December 21, 2002 3:56 PM
Subject: Re: [vserver] Shell Script Problems

> Am Sam, 2002-12-21 um 19.59 schrieb Ken Stanley:
> >
> > We have created several simple shell scripts to set java environment
> > variables and they don't seem to work.
> > We are running VPS .20-1 on Redhat 7.3 with Redhat 7.3 virtuals.
> >
> > Here is an example:
> >
> > #! /bin/sh
> > export JAVA_HOME=/usr/java/jdk1.3.1/
> > export PATH=$JAVA_HOME/bin:$PATH;
> > export CLASSPATH=$CLASSPATH:.
> >
> > The script runs, it's set as executable, but the environment variables
> > do not work.
> How do you execute the script?
> ./script is wrong
> . script is right.
>
> Andreas
>
>
>
> This Message and it's contents is certifed Virus Free
> Checked by AVG anti-virus systems [www.grisoft.com]
>
>
>

This Message and it's contents is certifed Virus Free
Checked by AVG anti-virus systems [www.grisoft.com]


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 Sat 21 Dec 2002 - 21:34:03 GMT by hypermail 2.1.3