PATH in shell script

From: Mike's List (mikelist@sky.net)
Date: Fri Jun 07 2002 - 13:40:15 EDT


Maybe my brain is not working today, this is what I have in my script

#!/bin/ksh
PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/usr/ucb:/etc
export PATH

I need to setup the PATH for the rest of my script to run...but the
above doesn't seems to do it...however, when I execute the same line
above at the prompt PATH works fine. What the heck am I doing wrong
in my script???

- Mike
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:25 EDT