Date: Sun, 2 Jul 2000 23:48:28 +0100 (BST) From: =?iso-8859-1?q?Dan=20Fairs?= <danfairs@yahoo.co.uk> To: Alfred Perlstein <bright@wintelcom.net> Cc: freebsd-questions@freebsd.org Subject: Re: making shell script run in its own directory Message-ID: <20000702224828.22459.qmail@web3205.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
You could try a nasty hack using bash's pushd and popd but it's neither scalable nor portable... Dan --- Alfred Perlstein <bright@wintelcom.net> wrote: > * R Joseph Wright <rjoseph@mammalia.org> [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 ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie 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?20000702224828.22459.qmail>