-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello:

I have been trying to setup SAP-DB using the RPM packages, but the 
environment variables was not set properly. So I have included in this 
message a script which contains parts from J�rgen Sauer and little 
modifications of my own. The script must be located in the directory 
"/etc/profile.d".

Greets.
- -- 
+----------
| Rafael Jesus Alcantara Perez.
| Email: mailto:[EMAIL PROTECTED]
| Registered Linux User: #45989
| PGP: http://pgp.rediris.es:11371/pks/lookup?op=index&search=0x97A85043
+---------------------
"For every complex problem there is a solution that is concise, clear, 
simple, and wrong."
(H. L. Mencken)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9oDQAVE976peoUEMRAjBRAJ46ToE1cJgKglq+d85L7NbwnH+f6wCgm9SW
UCM70gqjNyRvJ/Hc/kQnj9k=
=yf+Y
-----END PGP SIGNATURE-----
#
#  Original code from J�rgen Sauer <[EMAIL PROTECTED]>
#  Few changes for adapting to Red Hat Linux from Rafael Jesus Alcantara Perez 
<[EMAIL PROTECTED]>
#
export SAPDB=/opt/sapdb
export SAPDBROOT=$SAPDB/depend
if [ -d $SAPDB/indep_prog/bin ]; then
  export PATH=$PATH:$SAPDB/indep_prog/bin
fi
if [ -d $SAPDBROOT/bin ]; then
  export PATH=$PATH:$SAPDBROOT/bin
fi
if [ -d $SAPDB/interfaces/python/bin ]; then
  export PATH=$PATH:$SAPDB/interfaces/python/bin
fi
if [ -f $SAPDBROOT/misc/sapdbc.jar ]; then
  export CLASSPATH=$CLASSPATH:$SAPDBROOT/misc/sapdbc.jar
fi
if [ -d $SAPDBROOT/misc ]; then
  export PERL5LIB=$PERL5LIB:$SAPDBROOT/misc
  export PYTHONPATH=$PYTHONPATH:/usr/lib/python1.5:$SAPDBROOT/misc
fi

Reply via email to