diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-12-30 22:11:06 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-12-30 22:11:06 +0000 |
commit | d220b65dce8b541a634327cfe1a72ed0be446d8d (patch) | |
tree | 3ce990d1d0bb352fa52b8d1b209d2298682c3ffd /ybd.py | |
parent | e2e679514d5b2cde8932a9b4419d6db11a450db7 (diff) | |
download | ybd-d220b65dce8b541a634327cfe1a72ed0be446d8d.tar.gz |
Handle morph files directly, no need for morph-converter.sh
Diffstat (limited to 'ybd.py')
-rwxr-xr-x | ybd.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -27,8 +27,7 @@ import app from assembly import assemble import sandbox -path, target = os.path.split(sys.argv[1]) -target = target.replace('.def', '') +target = os.path.splitext(os.path.basename(sys.argv[1]))[0] arch = sys.argv[2] with app.setup(target, arch): with app.timer('TOTAL', 'YBD starts'): |