[Pkg-voip-commits] r7192 - /tools/checkwatches.bash
kilian at alioth.debian.org
kilian at alioth.debian.org
Sat May 9 22:20:29 UTC 2009
Author: kilian
Date: Sat May 9 22:20:29 2009
New Revision: 7192
URL: http://svn.debian.org/wsvn/pkg-voip/?sc=1&rev=7192
Log:
fix non-existing debian/changelog issue.
Modified:
tools/checkwatches.bash
Modified: tools/checkwatches.bash
URL: http://svn.debian.org/wsvn/pkg-voip/tools/checkwatches.bash?rev=7192&op=diff
==============================================================================
--- tools/checkwatches.bash (original)
+++ tools/checkwatches.bash Sat May 9 22:20:29 2009
@@ -17,7 +17,7 @@
uscan --report --no-verbose --no-dehs || true
fi
- if [ "`sed -ne '1s/^.*UNRELEASED.*$/UNRELEASED/p' debian/changelog`" = "UNRELEASED" -a `dpkg-parsechangelog |dpkg-parsechangelog |sed -ne 's/^[^ ].*$//' -e 's/^ [\.]*$//' -e 's/^[\ \*]* NOT RELEASED YET.*//' -e 's/^\ +\[.*\]$//' -e 's/^ //p'|wc -l` -gt 1 ];then
+ if [ -f debian/changelog -a "`sed -ne '1s/^.*UNRELEASED.*$/UNRELEASED/p' debian/changelog`" = "UNRELEASED" -a `dpkg-parsechangelog |dpkg-parsechangelog |sed -ne 's/^[^ ].*$//' -e 's/^ [\.]*$//' -e 's/^[\ \*]* NOT RELEASED YET.*//' -e 's/^\ +\[.*\]$//' -e 's/^ //p'|wc -l` -gt 1 ];then
echo "Updates pending for next upload:"
dpkg-parsechangelog |sed -ne 's/^[^ ].*$//' -e 's/^ [\.]*$//' -e 's/^[\ \*]* NOT RELEASED YET.*//' -e 's/^\ +\[.*\]$//' -e 's/^ //p'
fi
More information about the Pkg-voip-commits
mailing list