update pokered_dir.py to use cwd for path

This will be fixed when redtools is merged into the rest of the junk,
but for now the path will just be the cwd.

This is necessary for pokered gbz80disasm.
This commit is contained in:
Bryan Bishop 2013-09-11 10:53:49 -05:00
parent 50341bae50
commit e74f9833a1

View File

@ -1,4 +1,6 @@
import os
#main dir of repo (simply one level up than here)
pokered_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# TODO: use actual configuration
# Assume that the main pokered project dir is the current working directory
# (cwd).
pokered_dir = os.getcwd()