summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2017-12-14 14:58:46 +1100
committerMatthew Waters <matthew@centricular.com>2017-12-14 14:58:46 +1100
commit4c65322b2c6bb62a1f6019afa25a5b9fd9b8c606 (patch)
treef5a1981d5bc65c03f00484889669e67176ed538b
parent3fa2c9e372bceec30be91e67fb02b6cb05bed493 (diff)
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.
-rwxr-xr-xupdate-common8
1 files 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