search in the right dir

f41
David Tardon 13 years ago
parent ab17a0bfb9
commit b0cc797be1

@ -1314,7 +1314,7 @@ print-DLLPOSTFIX :
@echo \$(DLLPOSTFIX) @echo \$(DLLPOSTFIX)
EOF EOF
libsuffix=`dmake -f dllpostfix.mk print-DLLPOSTFIX` libsuffix=`dmake -f dllpostfix.mk print-DLLPOSTFIX`
for f in `find %{_datadir}/gdb/auto-load%{baseinstdir} -type f -name '*lo-gdb.py'`; do for f in `find $RPM_BUILD_ROOT/%{_datadir}/gdb/auto-load%{baseinstdir} -type f -name '*lo-gdb.py'`; do
mv "$f" "${f%lo-gdb.py}${libsuffix}-gdb.py" mv "$f" "${f%lo-gdb.py}${libsuffix}-gdb.py"
done done

Loading…
Cancel
Save