summaryrefslogtreecommitdiffstats
path: root/tools/patman/patman.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/patman/patman.py')
-rwxr-xr-xtools/patman/patman.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/patman/patman.py b/tools/patman/patman.py
index d05c5ff8e1..fe50eb4d5c 100755
--- a/tools/patman/patman.py
+++ b/tools/patman/patman.py
@@ -117,7 +117,8 @@ elif options.full_help:
pager = os.getenv('PAGER')
if not pager:
pager = 'more'
- fname = os.path.join(os.path.dirname(sys.argv[0]), 'README')
+ fname = os.path.join(os.path.dirname(os.path.realpath(sys.argv[0])),
+ 'README')
command.Run(pager, fname)
# Process commits, produce patches files, check them, email them
OpenPOWER on IntegriCloud