diff options
author | Geoff Levand <geoff@infradead.org> | 2013-05-30 14:14:36 -0700 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2013-05-30 14:14:36 -0700 |
commit | 486082caf54036fde54b8db584c992d3d56e27d8 (patch) | |
tree | 60aeefaa330f86a15b42cde48a3c9889b946e81a | |
parent | 6f78e4213e63b643a78310fb30405a24f82c9e9c (diff) | |
download | ps3-utils-486082caf54036fde54b8db584c992d3d56e27d8.tar.gz |
ps3-dump-bootloader: Remove bash specific code
Signed-off-by: Geoff Levand <geoff@infradead.org>
-rw-r--r-- | ps3-dump-bootloader.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ps3-dump-bootloader.in b/ps3-dump-bootloader.in index 51b7799..a2eaf0f 100644 --- a/ps3-dump-bootloader.in +++ b/ps3-dump-bootloader.in @@ -77,7 +77,7 @@ if [ ! "ldr_offset" ]; then exit 1; fi -let ldr_offset=512*ldr_offset +ldr_offset=$((512 * ldr_offset)) if [ "$sum" ]; then dd if=/dev/ps3flash bs=1 skip=$ldr_offset count=$ldr_size | md5sum |