Linux standalone: Use md5sum to shorten paths in .cache/git-annex/locales
md5sum is part of busybox, so is probably available unless it were compiled out. If md5sum (or cut for that matter) is not available, it will still use the whole path to $base, otherwise hash it. Of course it's possible for md5sum to be available sometimes and not others on the same system; in such an event the locales would be built twice for the same bundle. The cleanup code will delete both sets once that version of the bundle is upgraded.
This commit is contained in:
parent
4f01a4e2e0
commit
88f721549d
3 changed files with 8 additions and 0 deletions
|
@ -3,3 +3,5 @@ In the standalone build of git-annex, the runshell script caches locale info in
|
|||
When the full path is too long, this fails with the error "filename too long".
|
||||
|
||||
Also, if the locale info is specific to the standalone environment, maybe it could be built as part of the process that creates the standalone package, rather than built on-the-fly and cached in the user's home dir?
|
||||
|
||||
> [[fixed|done]] --[[Joey]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue