From 5759c77f6150309a64b009ebfda00cd73b97b5b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20=C3=98yvind=20Karlsen?= Date: Tue, 23 Mar 2010 19:40:13 +0000 Subject: really check that the debug directory we want to search through exists, not only the parent --- find-debuginfo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.1