mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
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 <vikram186@gmail.com> Cc: Simon Glass <sjg@chromium.org> Cc: Wolfgang Denk <wd@denx.de> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Wolfgang Denk
parent
9595260e0b
commit
2b36c75d7b
@@ -68,7 +68,7 @@ How to configure it
|
|||||||
For most cases patman will locate and use the file 'doc/git-mailrc' in
|
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.
|
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
|
# patman alias file
|
||||||
|
@@ -69,7 +69,7 @@ def Setup(config_fname=''):
|
|||||||
"""
|
"""
|
||||||
settings = ConfigParser.SafeConfigParser()
|
settings = ConfigParser.SafeConfigParser()
|
||||||
if config_fname == '':
|
if config_fname == '':
|
||||||
config_fname = '%s/.config/patman' % os.getenv('HOME')
|
config_fname = '%s/.patman' % os.getenv('HOME')
|
||||||
if config_fname:
|
if config_fname:
|
||||||
settings.read(config_fname)
|
settings.read(config_fname)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user