X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=rpm-new-debuginfo.patch;h=b7170c05c1438965499e68d2f35ec14f993eeb6e;hb=627d2f53c9b335fd2ece14169824c92b200cbae4;hp=88caa02d2432727e9e90b5f1a1df5cd541e1b693;hpb=66c468a117c3bf97428c00f53d5a463123208640;p=packages%2Frpm.git diff --git a/rpm-new-debuginfo.patch b/rpm-new-debuginfo.patch index 88caa02..b7170c0 100644 --- a/rpm-new-debuginfo.patch +++ b/rpm-new-debuginfo.patch @@ -105,7 +105,7 @@ { - eu-strip --remove-comment -f "$1" "$2" || : + local t=$(mktemp "/tmp/rpm.stripped.XXXXXX") -+ eu-strip --strip-debug -f "$1" "$2" -o "$t" || exit ++ eu-strip --remove-comment -f "$1" "$2" -o "$t" || exit + rm -f "$t" +} +