diff options
-rwxr-xr-x | find-debuginfo.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/find-debuginfo.sh b/find-debuginfo.sh index 1ec4a18..637db3b 100755 --- a/find-debuginfo.sh +++ b/find-debuginfo.sh @@ -46,6 +46,7 @@ mkdir -p ${RPM_BUILD_ROOT}/usr/src/debug cat $SOURCEFILE | (cd $RPM_BUILD_DIR; LANG=C sort -z -u | cpio -pd0m ${RPM_BUILD_ROOT}/usr/src/debug) # stupid cpio creates new directories in mode 0700, fixup find ${RPM_BUILD_ROOT}/usr/src/debug -type d -print0 | xargs -0 chmod a+rx +find ${RPM_BUILD_ROOT}/usr/src/debug -type f -print0 | xargs -0 -r chmod a+r find ${RPM_BUILD_ROOT}/usr/lib/debug -type f | sed -n -e "s#^$RPM_BUILD_ROOT##p" > $LISTFILE find ${RPM_BUILD_ROOT}/usr/src/debug -mindepth 1 -maxdepth 1 | sed -n -e "s#^$RPM_BUILD_ROOT##p" >> $LISTFILE |