| Summary: | revdep-rebuild g/fbsd support | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Component: | Other | Assignee: | Paul Varner (RETIRED) <fuzzyray> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bsd+disabled, osx |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | revdep-rebuild-gfbsd.patch | ||
|
Description
Diego Elio Pettenò (RETIRED)
2005-08-12 08:41:51 UTC
Created attachment 65763 [details, diff]
revdep-rebuild-gfbsd.patch
Is there a way to test that it doesn't work? It appears to be completely happy on my osx machine when I run it. I would expecte to get those stat errors on OSX too. Tried to break a dependency, but it didn't work out :( this would pretty much need a rewrite to actually work with mach-o it looks like. Perhaps the stat should simply be removed, and a more portable alternative could
be found? This would prevent such headaches when another OS uses yet another
stat. It is used to remove all temporary files if any is over a day old. This
can be done using GNU find, and the FBSD find manpage makes me think this should
work with that too (but I can't actually test it at the moment).
find "${LIST%/*}/." ! -name . -prune -name "${LIST##*/}*" -mtime +0 -exec rm -f
${LIST}* \;
Admittedly, this doesn't work with busybox find (which doesn't recognise -prune
and -exec), but busybox doesn't provide stat either, so that shouldn't really be
much of a problem.
Added to gentoolkit-0.2.1_pre5 Why do I even bother? |