opensubscriber
   Find in this group all groups
 
Unknown more information…

d : devel@lists.fedoraproject.org 25 October 2011 • 2:46PM -0400

Re: UsrMove feature (was Re: FESCo meeting minutes for 2011-10-24)
by Michał Piotrowski

REPLY TO AUTHOR
 
REPLY TO GROUP




W dniu 25 października 2011 08:32 użytkownik Matej Cepl
<mcepl@redh...> napisał:
> Dne 24.10.2011 22:27, Michał Piotrowski napsal(a):
>> Yeah, this solution has its drawbacks, but it also has undoubted
>> advantages.
>
> I am probably dumb, but could you tell me some *undoubted* advantage of
> using
>
> #!/usr/bin/env sh

You can alias sh to other shell.

I need to use this from time to time on some servers, for example
alias php='/usr/local/php5.3/bin/php -c
/usr/local/directadmin/data/users/ehorizon/php/eventhorizon.pl/php53.ini'
PATH=/usr/local/php5.3/bin:$PATH

Without this trick I would not be able to use php 5.3 cli on my shared hosting.

>
> (note, that couple of years ago, we were removing /usr/bin/env python
> from all Python scripts in Fedora packages, and replacing them with
> /usr/bin/python, because it was (rightly) agreed, that the moment Fedora
> doesn't have Python in /usr/bin we have much bigger problems to solve).
>
> Matěj
>
> --
> devel mailing list
> devel@list...
> https://admin.fedoraproject.org/mailman/listinfo/devel
>



--
Best regards,
Michal

http://eventhorizon.pl/
--
devel mailing list
devel@list...
https://admin.fedoraproject.org/mailman/listinfo/devel

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.