From: Vikram Narayanan Date: Wed, 23 May 2012 08:58:58 +0000 (+0000) Subject: patman: Change the location of patman config file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2b36c75d7b930a860ec17f2af3321faa5811593b;p=project%2Fbcm63xx%2Fu-boot.git patman: Change the location of patman config file 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 Cc: Simon Glass Cc: Wolfgang Denk Acked-by: Simon Glass --- diff --git a/tools/patman/README b/tools/patman/README index 7ba9e804d5..1af86654db 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 049c709749..f980071489 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)