Gerard Samuel wrote:
A bit off topic, but I figure someone in here, may be able to point
me in the right direction.
!#/path/to/php
Im wondering, if its possible for the /path/to/php can be made dynamic.
i.e. Have the file still look as if it is a shell script, but
the path to the executable is determined at run time,
to make it more portable.
Seems to me you could use:
#!/usr/bin/env php
Much like people often recommend for perl scripts.
--
Clint Gilders <[EMAIL PROTECTED]>
Director of Technology Services
OnlineHobbyist.com, Inc.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"