On Tue, Apr 14, 2009 at 18:59, Ben Hyde <bhyde at pobox.com> wrote:
> This made me happier...
> if [ -z "$CCL_DEFAULT_DIRECTORY" ]; then
> + cd `dirname $0`
> + cd ..
> + probe "`pwd`"
> +fi
Wouldn’t
probe "$(dirname $(dirname $0))"
be preferable? I hate scripts that change PWD under my feet…
Cheers,
Martin