diff 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
line wrap: on
line diff
--- a/configure	Wed Feb 16 15:56:54 2011 +0000
+++ b/configure	Wed Feb 16 16:35:53 2011 +0000
@@ -50,7 +50,7 @@
 if ! test -e ffmpeg ; then
   echo "No FFmpeg checkout, press enter to download one with git or CTRL+C to abort"
   read tmp
-  if ! git --depth 1 clone git://git.videolan.org/ffmpeg.git ffmpeg ; then
+  if ! git clone --depth 1 git://git.videolan.org/ffmpeg.git ffmpeg ; then
     rm -rf ffmpeg
     echo "Failed to get a FFmpeg checkout"
     exit 1