Commit 5237ce67 authored by Måns Rullgård's avatar Måns Rullgård

detect more broken shells

Originally committed as revision 5926 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent b3cb5d51
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
# #
# make sure we are running under a compatible shell # make sure we are running under a compatible shell
(: ${foo%%bar}) 2>/dev/null unset foo
(: ${foo%%bar}) 2>/dev/null && ! (: ${foo?}) 2>/dev/null
if test "$?" != 0; then if test "$?" != 0; then
if test "x$FFMPEG_CONFIGURE_EXEC" = x; then if test "x$FFMPEG_CONFIGURE_EXEC" = x; then
FFMPEG_CONFIGURE_EXEC=1 FFMPEG_CONFIGURE_EXEC=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment