diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2005-10-16 12:37:14 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2005-10-16 12:37:14 +0000 |
commit | c0b08f1bfbf59f51c105df047a643e33e1515847 (patch) | |
tree | 32e5c756713181655721800ce1e41bde0210b5ef /scripts | |
parent | 8ceb90def1e6cc4cd4493cc8ef584e485f29f48e (diff) |
Dear Andy: here's a script to update stuff from CVS
Original commit message from CVS:
Dear Andy:
here's a script to update stuff from CVS
Love,
Thomas
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/cvs-update.sh | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/scripts/cvs-update.sh b/scripts/cvs-update.sh new file mode 100755 index 000000000..393b1fa09 --- /dev/null +++ b/scripts/cvs-update.sh @@ -0,0 +1,48 @@ +#!/bin/bash + +# update all known gstreamer modules +# build them one by one +# report failures at the end +# run this from a directory that contains the checkouts for each of the +# modules + +FAILURE= + +for m in \ + gstreamer gst-plugins-base \ + gst-plugins-good gst-plugins-ugly gst-plugins-bad \ + gst-ffmpeg \ + gst-python \ + ; do + if test -d $m; then + cd $m + cvs update + if test $? -ne 0 + then + FAILURE="$FAILURE$m: update\n" + cd .. + continue + fi + make + if test $? -ne 0 + then + FAILURE="$FAILURE$m: make\n" + cd .. + continue + fi + make check + if test $? -ne 0 + then + FAILURE="$FAILURE$m: check\n" + cd .. + continue + fi + cd .. + fi +done + +if test "x$FAILURE" != "x"; then + echo "Failures:" + echo + echo -e $FAILURE +fi |