[FFmpeg-devel] [RFC/PATCH]Allow to use ancient bash to make version.h

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jun 20 00:27:36 CEST 2014


Clément Bœsch <u <at> pkh.me> writes:

> >  # check for git short hash
> > -if ! test "$revision"; then
> > -    revision=$(cd "$1" && git describe --tags --match N 2> /dev/null)
> > -fi
> > +test "$revision" ||
> > +    revision=`cd "$1" && git describe --tags --match N 2> /dev/null`

> What version of bash is that?

No version of bash, but the original Bourne Shell.

Sorry, Carl Eugen



More information about the ffmpeg-devel mailing list