From 7708b456eb9fab5ececc5f6eb3e47973392e4451 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 20 Apr 2013 15:51:52 +0100 Subject: [PATCH] update-common: run update-readmes for selected modules To keep things in sync. --- update-common | 9 +++++++++ update-readmes | 4 ++++ 2 files changed, 13 insertions(+) diff --git a/update-common b/update-common index d48e9f4..30cf4ad 100755 --- a/update-common +++ b/update-common @@ -81,6 +81,15 @@ do *) ;; esac + # update README and MAINTAINERS for selected modules + case $module in + gstreamer|gst-plugins-base|gst-plugins-good|gst-plugins-ugly|gst-plugins-bad ) + ./common/update-readmes --run-git-add + ;; + *) + ;; + esac + # and finally update the common submodule git add common git commit -m "Automatic update of common submodule diff --git a/update-readmes b/update-readmes index b2fd9fd..4afe162 100755 --- a/update-readmes +++ b/update-readmes @@ -34,3 +34,7 @@ for f in $README_FILES ; do exit 1; } done + +if test x$1 = "x--run-git-add"; then + git add $README_FILES; +fi -- 2.7.4