Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Off Topic: Unix shell script problem - Urgent advise needed

Re: Off Topic: Unix shell script problem - Urgent advise needed

From: Rocky Welch <rockyw_99_at_yahoo.com>
Date: Thu, 26 Apr 2001 08:43:34 -0700
Message-ID: <F001.002F2EEB.20010426065829@fatcity.com>

Hi Viraj,

It looks to me like your clearing the value of $SHLIB_PATH (unset SHLIB_PATH) then using $SHLIB_PATH to set the value of SHLIB_PATH. Since it is empty to begin with the value will be null. In a shell script if you run it from a user's current shell (in your case by executing tst) the script picks up your current environment (therefore SHLIB_PATH is whatever initial value is set from the user's .profile). But if you run . tst the script gets it's environment from the script itself with all variables set to null until initialized. You must make $SHLIB_PATH equal to some value within the script before it can be used.

HTH,
Rocky


Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Rocky Welch
  INET: rockyw_99_at_yahoo.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Thu Apr 26 2001 - 10:43:34 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US