From 28490230cf68f8045fc63a8c7d3de19c7c1d3bcd Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 3 Aug 2013 16:10:52 -0500 Subject: make a basic python module --- bin/dump_sections | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 bin/dump_sections (limited to 'bin/dump_sections') 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 -- cgit v1.2.3