diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-03-23 19:40:13 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2010-03-23 19:40:13 +0000 |
commit | 5759c77f6150309a64b009ebfda00cd73b97b5b8 (patch) | |
tree | 3ffefb0b22862d16a31aab7bffd94f07187dd016 | |
parent | 9b6e7da47e8a648ea39281a2f7b037c69f1befbc (diff) | |
download | rpm-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-x | find-debuginfo.sh | 2 |
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" |