From 7b3699bb8f4050b1365140e3ea7284874356640a Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 27 Jan 2013 19:10:42 -0600 Subject: dump_sections - tool to dump a skeleton asm file original-commit-id: eb6cb9812da6a75dc86f64be27d9ef419963790c --- dump_sections | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 dump_sections (limited to 'dump_sections') 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 -- cgit v1.2.3