From 4c65322b2c6bb62a1f6019afa25a5b9fd9b8c606 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Thu, 14 Dec 2017 14:58:46 +1100 Subject: update-common: use the existing libav git submodule We were still using the old name ffmpeg and thus the entirety of ffmpeg was being downloaded every time the script was run. --- update-common | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/update-common b/update-common index 160ad32..d42143a 100755 --- a/update-common +++ b/update-common @@ -116,10 +116,10 @@ do # avoid downloading libav submodule by re-using existing checkout if test "$module" = "gst-libav"; then - if test -e $reference/gst-libav/gst-libs/ext/ffmpeg/.git ; then - git submodule update --reference $reference/gst-libav/gst-libs/ext/ffmpeg -- gst-libs/ext/gst-libav - elif test -e $topdir/gst-libav/gst-libs/ext/ffmpeg/.git ; then - git submodule update --reference $topdir/gst-libav/gst-libs/ext/ffmpeg/ -- gst-libs/ext/ffmpeg + if test -e $reference/gst-libav/gst-libs/ext/libav/.git ; then + git submodule update --reference $reference/gst-libav/gst-libs/ext/libav -- gst-libs/ext/libav + elif test -e $topdir/gst-libav/gst-libs/ext/libav/.git ; then + git submodule update --reference $topdir/gst-libav/gst-libs/ext/libav/ -- gst-libs/ext/libav else git submodule update fi -- cgit v1.2.1