Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Jul 2000 13:14:45 -0700 (PDT)
From:      <keith@mail.telestream.com>
To:        R Joseph Wright <rjoseph@mammalia.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: making shell script run in its own directory
Message-ID:  <Pine.LNX.4.10.10007021310580.19416-100000@mail.telestream.com>
In-Reply-To: <20000702130901.A66305@manatee.mammalia.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Never really done that before but just thinking off the top of my head I
would say that if you set PATH in the script it will run reletive to what
you set PATH to. 


Keith

=================================
Keith W.

At the helm <for better or worse>
=================================


On Sun, 2 Jul 2000, R Joseph Wright wrote:

> How do I make a shell script run in the directory where it resides rather than
> the directory where it was called from?
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10007021310580.19416-100000>