summaryrefslogtreecommitdiff
path: root/scripts/build/binary_loopback_cfg
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-02-10 15:48:49 +0000
committerRaphaƫl Hertzog <hertzog@debian.org>2020-03-05 11:29:01 +0000
commit36a3ba76347ef72df1c316312ed3a26aa4b0c816 (patch)
tree1777349053ca63a9cb543230289b2c1f65778a5c /scripts/build/binary_loopback_cfg
parenta96107a3f124cdbeecb3fb6d4a13f3dc7cb62ea7 (diff)
downloadvyos-live-build-36a3ba76347ef72df1c316312ed3a26aa4b0c816.tar.gz
vyos-live-build-36a3ba76347ef72df1c316312ed3a26aa4b0c816.zip
fix indentation
including: - spaces replaced with tabs for consistency - alignment of `;;` in some case statements changed for consistency Gbp-Dch: Short Closes: #952857
Diffstat (limited to 'scripts/build/binary_loopback_cfg')
-rwxr-xr-xscripts/build/binary_loopback_cfg12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build/binary_loopback_cfg b/scripts/build/binary_loopback_cfg
index a049b6480..a31cc857e 100755
--- a/scripts/build/binary_loopback_cfg
+++ b/scripts/build/binary_loopback_cfg
@@ -82,15 +82,15 @@ Grub_install_entry ()
case $TYPE in
rescue|rescuegui)
APPEND=$(echo "$APPEND" | sed -e 's/ quiet//')
- ;;
+ ;;
esac
if [ -z "$LINUX_INSTALL" ]; then
- # First entry recorded in LINUX_INSTALL
- LINUX_INSTALL="$(Grub_menu_entry "$LABEL" "$KERNEL" "$INITRD" "$APPEND")$NL"
+ # First entry recorded in LINUX_INSTALL
+ LINUX_INSTALL="$(Grub_menu_entry "$LABEL" "$KERNEL" "$INITRD" "$APPEND")$NL"
else
- # Remaining entries recorded in LINUX_ADVANCED_INSTALL
- LINUX_ADVANCED_INSTALL="$LINUX_ADVANCED_INSTALL$(Grub_menu_entry "$LABEL" "$KERNEL" "$INITRD" "$APPEND")$NL"
+ # Remaining entries recorded in LINUX_ADVANCED_INSTALL
+ LINUX_ADVANCED_INSTALL="$LINUX_ADVANCED_INSTALL$(Grub_menu_entry "$LABEL" "$KERNEL" "$INITRD" "$APPEND")$NL"
fi
}
@@ -270,7 +270,7 @@ mkdir -p binary/boot/grub
cp -a "${_SOURCE}"/* binary/boot/grub/
escape_for_sed() {
- echo -n "$1" | perl -npe 's/\n/\\n/gm'
+ echo -n "$1" | perl -npe 's/\n/\\n/gm'
}
sed -i \