From owner-freebsd-questions Sun Jul 2 13:52:55 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id 4316837BE52 for ; Sun, 2 Jul 2000 13:52:53 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e62Kqpf28867; Sun, 2 Jul 2000 13:52:51 -0700 (PDT) Date: Sun, 2 Jul 2000 13:52:51 -0700 From: Alfred Perlstein To: R Joseph Wright Cc: freebsd-questions@FreeBSD.ORG Subject: Re: making shell script run in its own directory Message-ID: <20000702135251.R25571@fw.wintelcom.net> References: <20000702130901.A66305@manatee.mammalia.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000702130901.A66305@manatee.mammalia.org>; from rjoseph@mammalia.org on Sun, Jul 02, 2000 at 01:09:01PM -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * R Joseph Wright [000702 13:09] wrote: > How do I make a shell script run in the directory where it resides rather than > the directory where it was called from? It's impossible, afaik. (It's been discussed before) -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message