diff options
author | Andras Timar <andras.timar@collabora.com> | 2020-11-08 18:54:39 +0100 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2020-11-08 18:54:39 +0100 |
commit | 55a33d4b8e58882ed4a09fb79689198c1db0fd7d (patch) | |
tree | a3fbaefc3b67dcd4dce47f28d9012fcb3d1c51de /bin | |
parent | 9ef54e8d72320063539811e67325f520c033ff09 (diff) |
[cp] fix %product and %description lines for debug deb packages
Change-Id: I5b49c1515e0b2365242efad03fbfe0539e52f4ff
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/pack-debug | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/pack-debug b/bin/pack-debug index e212a2cfaad4..4f1f2a9e28a7 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} |