summaryrefslogtreecommitdiff
path: root/tools/quick_dump
diff options
context:
space:
mode:
Diffstat (limited to 'tools/quick_dump')
-rwxr-xr-xtools/quick_dump/quick_dump.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/quick_dump/quick_dump.py b/tools/quick_dump/quick_dump.py
index 5c88ef1b..7eb043bc 100755
--- 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('.'):