> cat <<EOF >conftest.sh
> #! $SHELL
> exit 0
> EOF
>
> chmod +x conftest.sh
>
> if (PATH=.;`pwd`; conftest.sh); then
>   # We like `;', let's use it.

Slackware will like it :-)
It already has "." in $PATH for non-root users.
I don't see an alternative to using a separate directory.

But you conftest.sh is clearly better than my conftest.bat, as well as its
contents :-)

Regards,
Pavel Roskin


Reply via email to