~ubuntu-branches/ubuntu/trusty/gst-plugins-base1.0/trusty-proposed

« back to all changes in this revision

Viewing changes to common/extract-release-date-from-doap-file

  • Committer: Package Import Robot
  • Author(s): Sebastian Dröge
  • Date: 2013-09-24 16:24:47 UTC
  • mfrom: (1.1.18) (17.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20130924162447-0s1qfyjlaswtp1jg
* New upstream stable release:
  + debian/rules,
    debian/build-deps.in:
    - Build-depend on GStreamer >= 1.2.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
awk 'BEGIN {x=0}
20
20
{
21
 
if ($0~"<release>") {x=1; chunk=""}
 
21
if ( $0 ~ /<release>/ ) {x=1; chunk=""}
22
22
if (x==1) {
23
 
  if ($0~"<revision>") { chunk = chunk $0 }
24
 
  if ($0~"<created>") { chunk = chunk $0 }
 
23
  if ($0 ~ /<revision>/) { chunk = chunk $0 }
 
24
  if ($0 ~ /<created>/) { chunk = chunk $0 }
25
25
}
26
 
if ($0~"</release>") {x=0; print chunk}
 
26
if ($0 ~ /<\/release>/) {x=0; print chunk}
27
27
}' < "$2" | \
28
28
\
29
29
grep '<revision>'"$1"'</revision>' | \