diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-07-27 17:38:33 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-07-27 17:38:33 +0000 |
commit | 7e5ea5f86723d6e9e3c0582d3d65342a3f6b0ddb (patch) | |
tree | 5182d121dea91032cf70ad4b75eb332ed97b4851 /find-debuginfo.sh | |
parent | 061c1441b2964954e329252c620ea34bafb3cb3c (diff) | |
download | rpm-setup-7e5ea5f86723d6e9e3c0582d3d65342a3f6b0ddb.tar rpm-setup-7e5ea5f86723d6e9e3c0582d3d65342a3f6b0ddb.tar.gz rpm-setup-7e5ea5f86723d6e9e3c0582d3d65342a3f6b0ddb.tar.bz2 rpm-setup-7e5ea5f86723d6e9e3c0582d3d65342a3f6b0ddb.tar.xz rpm-setup-7e5ea5f86723d6e9e3c0582d3d65342a3f6b0ddb.zip |
drop useless rpm5 bits (less divergence with upstream)
Diffstat (limited to 'find-debuginfo.sh')
-rwxr-xr-x | find-debuginfo.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/find-debuginfo.sh b/find-debuginfo.sh index f9861ac..8390b14 100755 --- a/find-debuginfo.sh +++ b/find-debuginfo.sh @@ -22,14 +22,6 @@ # All file names in switches are relative to builddir (. if not given). # -debugedit=/usr/lib/rpm/debugedit -if [ ! -x $debugedit ]; then - # rpm5 since 5.2 has moved these binaries to a separate 'bin' subdirectory - if [ -x /usr/lib/rpm/bin/debugedit ]; then - debugedit=/usr/lib/rpm/bin/debugedit - fi -fi - # With -g arg, pass it to strip on libraries. strip_g=false @@ -219,7 +211,8 @@ while read nlinks inum f; do fi echo "extracting debug info from $f" - id=$($debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug \ + + id=$(/usr/lib/rpm/debugedit -b "$RPM_BUILD_DIR" -d /usr/src/debug \ -i -l "$SOURCEFILE" "$f") || exit if [ -z "$id" ]; then echo >&2 "*** ${strict_error}: No build ID note found in $f" |