[U-Boot] [PATCH 1/2] patman: Change the location of patman config file

Simon Glass sjg at chromium.org
Wed May 30 07:34:30 CEST 2012


On Wed, May 23, 2012 at 11:58 AM, Vikram Narayanan <vikram186 at gmail.com>wrote:

> Move the config file from ~/.config/patman to ~/.patman as it is
> more appropriate to have it there. Update the same in the README.
>
> Signed-off-by: Vikram Narayanan <vikram186 at gmail.com>
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Wolfgang Denk <wd at denx.de>
>

Acked-by: Simon Glass <sjg at chromium.org>


> ---
>  tools/patman/README      |    2 +-
>  tools/patman/settings.py |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/patman/README b/tools/patman/README
> index 7ba9e80..1af8665 100644
> --- a/tools/patman/README
> +++ b/tools/patman/README
> @@ -68,7 +68,7 @@ How to configure it
>  For most cases patman will locate and use the file 'doc/git-mailrc' in
>  your U-Boot directory. This contains most of the aliases you will need.
>
> -To add your own, create a file ~/.config/patman directory like this:
> +To add your own, create a file ~/.patman like this:
>
>  >>>>
>  # patman alias file
> diff --git a/tools/patman/settings.py b/tools/patman/settings.py
> index 049c709..f980071 100644
> --- a/tools/patman/settings.py
> +++ b/tools/patman/settings.py
> @@ -69,7 +69,7 @@ def Setup(config_fname=''):
>     """
>     settings = ConfigParser.SafeConfigParser()
>     if config_fname == '':
> -        config_fname = '%s/.config/patman' % os.getenv('HOME')
> +        config_fname = '%s/.patman' % os.getenv('HOME')
>     if config_fname:
>         settings.read(config_fname)
>
> --
> 1.7.4.1
>
>
>


More information about the U-Boot mailing list