summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-08-03 16:51:46 -0500
committerBryan Bishop <kanzure@gmail.com>2013-08-03 16:51:46 -0500
commit0403a4a90d473cc0a4bf5c53677c0a84406bc4ad (patch)
tree1e64b49b6bb9067919413dd0fddf6cd1bcacf760 /bin
parenta14c36eadb75ea3d6fbc4cb3f382d7c9785d9fe9 (diff)
parenta76acbadd2571c0d73b0797b2b68e205ab882b64 (diff)
Merge branch 'organizing' into master
Everything works in pokecrystal, so it's time to merge.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/dump_sections14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/dump_sections b/bin/dump_sections
new file mode 100755
index 0000000..362318f
--- /dev/null
+++ b/bin/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