summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-09-27 16:44:53 +0000
committerBenjamin Otte <otte@gnome.org>2003-09-27 16:44:53 +0000
commitd79e4c6f8fb781c8e245aa463dee066aa879f53b (patch)
tree0ca53d4bc7f8a5b2d3ccf62fda0dc68456b09a6f /m4
parenta786b1cf96eb0b0fa078163db07f9ce2851ba7b0 (diff)
downloadgst-plugins-bad-d79e4c6f8fb781c8e245aa463dee066aa879f53b.tar.gz
gst-plugins-bad-d79e4c6f8fb781c8e245aa463dee066aa879f53b.tar.bz2
gst-plugins-bad-d79e4c6f8fb781c8e245aa463dee066aa879f53b.zip
make ffmpeg erroring out work:
Original commit message from CVS: make ffmpeg erroring out work: - don't built gst-libs/ext/ffmpeg - don't update Tag when cvs command fails
Diffstat (limited to 'm4')
-rw-r--r--m4/as-slurp-ffmpeg.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/as-slurp-ffmpeg.m4 b/m4/as-slurp-ffmpeg.m4
index 8fbb8835..f8fe2346 100644
--- a/m4/as-slurp-ffmpeg.m4
+++ b/m4/as-slurp-ffmpeg.m4
@@ -28,7 +28,6 @@ AC_DEFUN(AS_SLURP_FFMPEG,
# check out cvs code
AC_MSG_NOTICE(checking out ffmpeg cvs code from $2 into $1)
cvs -Q -d:pserver:anonymous@cvs.ffmpeg.sourceforge.net:/cvsroot/ffmpeg co -D '$2' ffmpeg || FAILED=yes
- echo "$2" > Tag
else
# compare against Tag file and see if it needs updating
if test "`cat Tag`" == "$2"; then
@@ -38,9 +37,11 @@ AC_DEFUN(AS_SLURP_FFMPEG,
AC_MSG_NOTICE(updating ffmpeg cvs code to $2)
cvs -Q update -dP -D '$2' || FAILED=yes
cd ..
- echo "$2" > Tag
fi
fi
+ if test "x$FAILED" != "xyes"; then
+ echo "$2" > Tag
+ fi
# now go back
cd $DIRECTORY