[vlc-devel] commit: autoconf: Don't hardcode shell in templates (Francois Cartegnie )
Francois Cartegnie
fcartegnie at free.fr
Mon Jan 18 22:39:20 CET 2010
Le Monday 18 January 2010, vous avez écrit :
> > +echo '#! '$SHELL >compile
>
> $SHELL is typically the user's login shell. If that is something like
> tcsh (yes, such people exist), this will break horribly.
After autoconf has applied its rules the configure script will contain:
SHELL=${CONFIG_SHELL-/bin/sh}
early before this patch.
So the $SHELL is set by autoconf itself and is either $CONFIG_SHELL or will
fallback to /bin/sh.
Francois
More information about the vlc-devel
mailing list