1 |
On Tue, Feb 02, 2016 at 09:54:37AM +0100, Raffaele BELARDI wrote: |
2 |
> The option that controls this is --quoting-style, so |
3 |
> --quoting-style=literal returns to the old behaviour (which I prefer). I |
4 |
> can alias 'ls' to include this option but was wondering if there is a |
5 |
> global configuration file controlling such behaviour. |
6 |
|
7 |
There is no configuration file for ls(1), but we can still solve the |
8 |
problem. It is free software, after all! |
9 |
|
10 |
Put the file fix.patch in /etc/portage/patches/sys-apps/coreutils-8.25/ |
11 |
and apply the following changes to the ebuild (in the function src_prepare): |
12 |
|
13 |
|
14 |
--- old/sys-apps/coreutils/coreutils-8.25.ebuild 2016-01-30 15:56:16.000000000 +0000 |
15 |
+++ new/sys-apps/coreutils/coreutils-8.25.ebuild 2016-02-02 10:18:38.985961581 +0000 |
16 |
@@ -72,6 +72,8 @@ |
17 |
touch src/dircolors.h |
18 |
touch ${@/%x/1} |
19 |
fi |
20 |
+ |
21 |
+ epatch_user |
22 |
} |
23 |
|
24 |
|
25 |
Don't forget to regenerate the manifest |
26 |
|
27 |
ebuild .../sys-apps/coreutils/coreutils-8.25.ebuild manifest |
28 |
|
29 |
and recompile! |
30 |
|
31 |
|
32 |
;-) |