diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-02-27 17:17:36 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-02-27 17:17:36 +0000 |
commit | 8a4435f71a8a47e9cf3050ad6456cd9949da5958 (patch) | |
tree | 04fcc00d75ad0e8a8ad3f369688e6c833621c1b4 /mkimage.sh | |
parent | c5fc68fa232e88ec3e5e40aaec619280554886a9 (diff) | |
download | morph-8a4435f71a8a47e9cf3050ad6456cd9949da5958.tar.gz |
Make ./check check for long lines (with excptions); fix long lines
Diffstat (limited to 'mkimage.sh')
-rwxr-xr-x | mkimage.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -19,7 +19,9 @@ sudo parted -s "$img" mklabel msdos sudo parted -s "$img" mkpart primary 0% 100% sudo parted -s "$img" set 1 boot on sudo install-mbr "$img" -part=/dev/mapper/$(sudo kpartx -av "$img" | awk '/^add map/ { print $3 }' | head -n1) +part=/dev/mapper/$(sudo kpartx -av "$img" | + awk '/^add map/ { print $3 }' | + head -n1) trap "sudo kpartx -dv $img" EXIT # mapper may not yet be ready while test ! -e "$part"; do :; done |