diff options
author | Sanky <gsanky@gmail.com> | 2013-02-02 23:13:32 +0100 |
---|---|---|
committer | Sanky <gsanky@gmail.com> | 2013-02-02 23:20:50 +0100 |
commit | 4089cf486d83d78fddaab98316952e1bbeaafd47 (patch) | |
tree | f2721b81775a3e450e1a301a4679c9d6159c22b3 /dump_sections | |
parent | 43546fd07ac588be694c697873a642c5a2cc8c1d (diff) | |
parent | 1e893fae740cd9f82ead9adcb6f5c1ccb1c6090b (diff) |
Merge https://github.com/kanzure/pokecrystal
Conflicts:
constants.asm
extras/crystal.py
main.asm
original-commit-id: 7df002c3e20f1b728b1d29a877c3731d4867f502
Diffstat (limited to 'dump_sections')
-rwxr-xr-x | dump_sections | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dump_sections b/dump_sections new file mode 100755 index 0000000..362318f --- /dev/null +++ b/dump_sections @@ -0,0 +1,14 @@ +#!/bin/bash +# This wraps dump_sections.py so that other python scripts can import the +# functions. If dump_sections.py was instead called dump_sections, then other +# python source code would be unable to use the functions via import +# statements. + +# figure out the path to this script +cwd="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +# construct the path to dump_sections.py +secpath=$cwd/dump_sections.py + +# run dump_sections.py +$secpath $1 |