mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-26 21:24:37 -04:00
7b3699bb8f
original-commit-id: eb6cb9812da6a75dc86f64be27d9ef419963790c
15 lines
449 B
Bash
Executable File
15 lines
449 B
Bash
Executable File
#!/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
|