projects
/
profile
/
extras
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8d114b
)
quick_dump: chdir us to where the text files are
author
Ben Widawsky
<ben@bwidawsk.net>
Fri, 8 Feb 2013 02:58:17 +0000
(18:58 -0800)
committer
Ben Widawsky
<ben@bwidawsk.net>
Fri, 8 Feb 2013 02:58:17 +0000
(18:58 -0800)
This is useful if you run out of the quick_dump directory.
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
tools/quick_dump/quick_dump.py
patch
|
blob
|
history
diff --git
a/tools/quick_dump/quick_dump.py
b/tools/quick_dump/quick_dump.py
index
5c88ef1
..
7eb043b
100755
(executable)
--- a/
tools/quick_dump/quick_dump.py
+++ b/
tools/quick_dump/quick_dump.py
@@
-24,6
+24,9
@@
args = parser.parse_args()
if reg.init() == False:
sys.exit()
+# Put us where the script is
+os.chdir(os.path.dirname(sys.argv[0]))
+
#parse anything named base_ these are assumed to apply for all gens.
if args.baseless == False:
for root, dirs, files in os.walk('.'):