Re: setting HOME in shell script

2002-11-07 Thread Vincent Lefevre
On Thu, Nov 07, 2002 at 07:36:39 -0600, Lance Hoffmeyer wrote: > I have a script located in ~/bin/map/ that runs fine when > start it manually but when I set it up in a cron job it > wants to run from "~" so that a couple of things don't > work because they are in ~/bin/map and not in ~. > Can I "s

setting HOME in shell script

2002-11-07 Thread Lance Hoffmeyer
I have a script located in ~/bin/map/ that runs fine when start it manually but when I set it up in a cron job it wants to run from "~" so that a couple of things don't work because they are in ~/bin/map and not in ~. Can I "set HOME = ~/bin/map" so that it only applies to this shell and not global