aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2010-03-23 19:40:13 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2010-03-23 19:40:13 +0000
commit5759c77f6150309a64b009ebfda00cd73b97b5b8 (patch)
tree3ffefb0b22862d16a31aab7bffd94f07187dd016
parent9b6e7da47e8a648ea39281a2f7b037c69f1befbc (diff)
downloadrpm-setup-5759c77f6150309a64b009ebfda00cd73b97b5b8.tar
rpm-setup-5759c77f6150309a64b009ebfda00cd73b97b5b8.tar.gz
rpm-setup-5759c77f6150309a64b009ebfda00cd73b97b5b8.tar.bz2
rpm-setup-5759c77f6150309a64b009ebfda00cd73b97b5b8.tar.xz
rpm-setup-5759c77f6150309a64b009ebfda00cd73b97b5b8.zip
really check that the debug directory we want to search through exists, not only the parent
-rwxr-xr-xfind-debuginfo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-debuginfo.sh b/find-debuginfo.sh
index 477f0e3..53aab9e 100755
--- a/find-debuginfo.sh
+++ b/find-debuginfo.sh
@@ -271,7 +271,7 @@ fi
if [ -d "${RPM_BUILD_ROOT}/usr/lib" -o -d "${RPM_BUILD_ROOT}/usr/src" ]; then
((nout > 0)) ||
- test ! -d "${RPM_BUILD_ROOT}/usr/lib" ||
+ test ! -d "${RPM_BUILD_ROOT}/usr/lib/debug" ||
(cd "${RPM_BUILD_ROOT}/usr/lib"; find debug -type d) |
sed 's,^,%dir /usr/lib/,' >> "$LISTFILE"