diff options
Diffstat (limited to 'tools/symbolize.sh')
-rwxr-xr-x | tools/symbolize.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/symbolize.sh b/tools/symbolize.sh index 7365a9b..f5686e6 100755 --- a/tools/symbolize.sh +++ b/tools/symbolize.sh @@ -22,6 +22,7 @@ INTERACTIVE="no" if [ "x$1" = "x--interactive" ] ; then INTERACTIVE="yes" + shift fi # Pull the file from the device and symbolize it. @@ -57,4 +58,15 @@ function all() { done } -all +if [ "x$1" = "x" ] ; then + # No further arguments, iterate over all oat files on device. + all +else + # Take the parameters as a list of paths on device. + while (($#)); do + DIR=$(dirname $1) + NAME=$(basename $1) + one $DIR $NAME + shift + done +fi |