dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

Trying to use environment variable in rdist dist file - unix-admin

This is a discussion on Trying to use environment variable in rdist dist file - unix-admin ; I am using rdist, and trying to use an environment variable inside my dist file, but it is not being picked up. e.g. with env directory DDIR=/d, dist file contains: XDIR=${DDIR}/X then uses ${XDIR} but rdist complains that DDIR is ...


Home > Database Forum > Operating Systems > unix-admin > Trying to use environment variable in rdist dist file

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 11-04-2008, 08:18 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Trying to use environment variable in rdist dist file

I am using rdist, and trying to use an environment variable inside my
dist file, but it is not being picked up.
e.g. with env directory DDIR=/d,
dist file contains:
XDIR=${DDIR}/X
then uses ${XDIR}
but rdist complains that DDIR is undefined

Any ideas?
M
Reply With Quote
  #2  
Old 11-04-2008, 09:19 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
Default Re: Trying to use environment variable in rdist dist file

mark.bergman@thales-is.com wrote:
> I am using rdist, and trying to use an environment variable inside my
> dist file, but it is not being picked up.


I don't see anywhere in the man page that suggests you can use arbitrary
environment variables in the configuration file.

Chris
Reply With Quote
Reply

Thread Tools
Display Modes



All times are GMT -4. The time now is 03:02 PM.