diff options
author | Maximilian Mehnert <maximilian.mehnert@gmx.de> | 2015-09-23 10:59:28 +0200 |
---|---|---|
committer | Iain R. Learmonth <irl@debian.org> | 2015-12-15 13:59:49 +0000 |
commit | 2c118b384c8b14f96e3a60160e90399c71a1b103 (patch) | |
tree | d407f219c8b4b8e861ef8802692043260dd9084d /scripts | |
parent | 46920d22bd3a31241baa504bc178343c760a4812 (diff) | |
download | vyos-live-build-2c118b384c8b14f96e3a60160e90399c71a1b103.tar.gz vyos-live-build-2c118b384c8b14f96e3a60160e90399c71a1b103.zip |
scripts/build/binary_hdd: Fix code style
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/binary_hdd | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd index 0ffb20a7f..d0db38285 100755 --- a/scripts/build/binary_hdd +++ b/scripts/build/binary_hdd @@ -172,11 +172,14 @@ esac case "${LB_BUILD_WITH_CHROOT}" in true) Chroot chroot "parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE}" || true - if [ "x${LB_HDD_PARTITION_START}" = "x" ]; then - Chroot chroot "parted -a optimal -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0% 100%" || true + if [ "x${LB_HDD_PARTITION_START}" = "x" ]; + then + Chroot chroot "parted -a optimal -s ${FREELO} mkpart primary\ + ${PARTITION_TYPE} 0% 100%" || true else - Echo_message "using partition start at ${LB_HDD_PARTITION_START}" - Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} ${LB_HDD_PARTITION_START} 100%" || true + Echo_message "using partition start at ${LB_HDD_PARTITION_START}" + Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE}\ + ${LB_HDD_PARTITION_START} 100%" || true fi Chroot chroot "parted -s ${FREELO} set 1 boot on" || true Chroot chroot "parted -s ${FREELO} set 1 lba off" || true @@ -189,11 +192,14 @@ case "${LB_BUILD_WITH_CHROOT}" in false) parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE} || true - if [ "x${LB_HDD_PARTITION_START}" = "x" ]; then - parted -a optimal -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0% 100% || true + if [ "x${LB_HDD_PARTITION_START}" = "x" ]; + then + parted -a optimal -s ${FREELO} mkpart primary ${PARTITION_TYPE}\ + 0% 100% || true else - Echo_message "using partition start at ${LB_HDD_PARTITION_START}" - parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} ${LB_HDD_PARTITION_START} 100% || true + Echo_message "using partition start at ${LB_HDD_PARTITION_START}" + parted -s ${FREELO} mkpart primary ${PARTITION_TYPE}\ + ${LB_HDD_PARTITION_START} 100% || true fi parted -s "${FREELO}" set 1 boot on || true parted -s "${FREELO}" set 1 lba off || true |