comparison configure @ 32823:096818ca3aa0

Git clone options are after the 'clone' keyword
author cboesch
date Wed, 16 Feb 2011 16:35:53 +0000
parents 70765e0cd33b
children 4224bc9b72ca
comparison
equal deleted inserted replaced
32822:deebe1cc3729 32823:096818ca3aa0
48 fi 48 fi
49 49
50 if ! test -e ffmpeg ; then 50 if ! test -e ffmpeg ; then
51 echo "No FFmpeg checkout, press enter to download one with git or CTRL+C to abort" 51 echo "No FFmpeg checkout, press enter to download one with git or CTRL+C to abort"
52 read tmp 52 read tmp
53 if ! git --depth 1 clone git://git.videolan.org/ffmpeg.git ffmpeg ; then 53 if ! git clone --depth 1 git://git.videolan.org/ffmpeg.git ffmpeg ; then
54 rm -rf ffmpeg 54 rm -rf ffmpeg
55 echo "Failed to get a FFmpeg checkout" 55 echo "Failed to get a FFmpeg checkout"
56 exit 1 56 exit 1
57 fi 57 fi
58 touch ffmpeg/mp_auto_pull 58 touch ffmpeg/mp_auto_pull