[SCM] Debian Qt/KDE packaging tools branch, master, updated. debian/0.6.4-3-g57465dc

Modestas Vainius modax at alioth.debian.org
Tue Feb 16 10:43:27 UTC 2010


The following commit has been merged in the master branch:
commit 149fe7113b31b9667d81c014d28429f5f5e9ca5e
Author: Modestas Vainius <modestas at vainius.eu>
Date:   Tue Feb 16 11:54:17 2010 +0200

    pkgkde-debs2symbols: remove 0 size patch files.
---
 debian/changelog                  |    1 +
 symbolshelper/pkgkde-debs2symbols |    4 +++-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1cdc235..f601ace 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 pkg-kde-tools (0.6.5~pre1) UNRELEASED; urgency=low
 
+  * pkgkde-debs2symbols: remove 0 size patch files.
 
  -- Modestas Vainius <modax at debian.org>  Tue, 16 Feb 2010 11:51:57 +0200
 
diff --git a/symbolshelper/pkgkde-debs2symbols b/symbolshelper/pkgkde-debs2symbols
index 601b871..dcce168 100755
--- a/symbolshelper/pkgkde-debs2symbols
+++ b/symbolshelper/pkgkde-debs2symbols
@@ -63,9 +63,11 @@ dump_symbols() {
 
     if [ -n "$reffile" ]; then
 	outfile="${package}_${arch}"
+	patchfile="$outdir/$outfile.patch"
 	info2 "[$arch] Dumping patch & symbol file as $outfile/$outfile.{patch,symbols} ..."
 	pkgkde-gensymbols "-p$package" "-P$tmpdir" "-v$version" "-a$arch" \
-	    -c1 "-I$reffile" -O"$outdir/$outfile.symbols" > "$outdir/$outfile.patch" || true
+	    -c1 "-I$reffile" -O"$outdir/$outfile.symbols" > "$patchfile" || true
+	test -s "$patchfile" || rm -f "$patchfile"
     else
 	outfile="${package}_${arch}"
 	info2 "[$arch] Dumping symbol file as $outfile ..."

-- 
Debian Qt/KDE packaging tools



More information about the pkg-kde-commits mailing list