summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2020-11-08 18:54:39 +0100
committerAndras Timar <andras.timar@collabora.com>2020-11-08 18:58:08 +0100
commit8d70b505411b36c7e4aacf6838b69ce053fd84f5 (patch)
treeba998da96fe1d9f030824709b154a3c14e4d7f2d
parenttdf#123476 filter: try to detect 0-byte files based on extension (diff)
downloadcore-8d70b505411b36c7e4aacf6838b69ce053fd84f5.tar.gz
core-8d70b505411b36c7e4aacf6838b69ce053fd84f5.zip
[cp] fix %product and %description lines for debug deb packages
Change-Id: I5b49c1515e0b2365242efad03fbfe0539e52f4ff
-rwxr-xr-xbin/pack-debug4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pack-debug b/bin/pack-debug
index f37460ae5773..ebbceb576025 100755
--- a/bin/pack-debug
+++ b/bin/pack-debug
@@ -288,8 +288,8 @@ do
# create spec file for the debug info package
cat $i | awk '
- /^%product/ { print "%product Debug info package of "$0 ;next }
- /^%description/ { print "%description Debug info package of "$0 ;next }
+ /^%product/ { print gensub("%product", "%product Debug info package of", "", $0);next }
+ /^%description/ { print gensub("%description", "%description Debug info package of", "", $0);next }
/^f .*[.](so|bin)([.].*)?$/ { print $1,$2,$3,$4,$5".dbg",$6".dbg"; next }
/^[cf] / { next }
{print}