r9914 - in packages/trunk/game-data-packager: debian lib
Jon Dowland
jmtd-guest at alioth.debian.org
Sun Jun 28 15:01:04 UTC 2009
Author: jmtd-guest
Date: 2009-06-28 15:01:02 +0000 (Sun, 28 Jun 2009)
New Revision: 9914
Modified:
packages/trunk/game-data-packager/debian/changelog
packages/trunk/game-data-packager/lib/game-data-packager-shared
Log:
don't mask dpkg-deb return code
Modified: packages/trunk/game-data-packager/debian/changelog
===================================================================
--- packages/trunk/game-data-packager/debian/changelog 2009-06-28 14:54:40 UTC (rev 9913)
+++ packages/trunk/game-data-packager/debian/changelog 2009-06-28 15:01:02 UTC (rev 9914)
@@ -1,3 +1,9 @@
+game-data-packager (22) UNRELEASED; urgency=low
+
+ * don't mask non-zero exit status of dpkg-deb.
+
+ -- Jon Dowland <jon at alcopop.org> Sun, 28 Jun 2009 16:02:27 +0100
+
game-data-packager (21) unstable; urgency=low
* Upload to unstable.
Modified: packages/trunk/game-data-packager/lib/game-data-packager-shared
===================================================================
--- packages/trunk/game-data-packager/lib/game-data-packager-shared 2009-06-28 14:54:40 UTC (rev 9913)
+++ packages/trunk/game-data-packager/lib/game-data-packager-shared 2009-06-28 15:01:02 UTC (rev 9914)
@@ -149,10 +149,10 @@
# repack
mv DEBIAN slipstream.unpacked
- # XXX: capture the output of dpkg-deb and hide it
- fakeroot dpkg-deb -b slipstream.unpacked "$DEB" | ( \
- grep -v "^dpkg-deb: building package \`[a-z-]\+' in \`$DEB'."\
- || true)
+ # XXX: store output in a temporary file, then cat the file if
+ # dpkg-deb fails for some reason. (this is all to hide a non-
+ # suppressable "building package foo in ..." message)
+ fakeroot dpkg-deb -b slipstream.unpacked "$DEB" >/dev/null
}
More information about the Pkg-games-commits
mailing list