Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2005 12:48:50 -0500
From:      Gerard Samuel <fbsd-questions@trini0.org>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Shabang executable path
Message-ID:  <4210E482.4060204@trini0.org>

next in thread | raw e-mail | index | archive | help
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.

Thanks



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4210E482.4060204>