From: Antonio Ospite Date: Sat, 28 Jun 2014 09:24:37 +0000 (+0200) Subject: ddsect.sh: small cleanups X-Git-Url: https://git.ao2.it/ddsect.git/commitdiff_plain/refs/heads/master ddsect.sh: small cleanups --- diff --git a/ddsect.sh b/ddsect.sh index 1a27e5f..a11a1ec 100755 --- a/ddsect.sh +++ b/ddsect.sh @@ -52,7 +52,7 @@ print_map_info() ( echo "NAME START_ADDRESS END_ADDRESS SIZE SIZE_KiB" - parse_map_file $1 + parse_map_file $MAP_FILE ) | column -s " ," -t } @@ -67,7 +67,6 @@ split_image() do echo_exec dd ibs=1 skip=$START_ADDRESS count=$SIZE if="$IMAGE_FILE" of="${NAME}.bin" done - } join_image()