On 10/29/11 00:20, Chris Quenelle wrote:
One really good reason to use /usr/bin/python is because you want your script
to run unmodified on Ubuntu Linux, Oracle Linux, Solaris 10, Solaris 11 and
MacOS.
Except, all of those systems (to my knowledge) do the same thing we do.
/usr/bin/python is a symlink to the latest (which can be changed to
point to a different version btw, through officially supported
mechanisms) and /usr/bin/python2.x is a specific version.
So I'm uncertain how that would increase portability, unless the
argument is that the script can run against any version of Python that
might be the latest on any of those systems.
But again, this is not the recommended practice.
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss