summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2015-06-23 15:46:13 -0500
committerDaniel Baumann <mail@daniel-baumann.ch>2015-08-19 17:22:23 +0200
commit066426aa5992e3bcd88ce88690b1b1a447ced7b3 (patch)
tree4ce84da483298084435c0d726fea0824cf800867 /components
parent396df49ea752a361a88ada9d180e3a58d9fa37a4 (diff)
downloadlive-boot-066426aa5992e3bcd88ce88690b1b1a447ced7b3.tar.gz
live-boot-066426aa5992e3bcd88ce88690b1b1a447ced7b3.zip
Adjusting whitespace to tabs on components/9990-misc-helpers.sh
Diffstat (limited to 'components')
-rwxr-xr-xcomponents/9990-misc-helpers.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh
index 9318a4b..943e73b 100755
--- a/components/9990-misc-helpers.sh
+++ b/components/9990-misc-helpers.sh
@@ -114,7 +114,7 @@ check_dev ()
ISO_DEVICE=$(dirname ${ISO_DEVICE})
[ -b "$ISO_DEVICE" ] && break
i=$(($i -1))
- done
+ done
fi
if [ "$ISO_DEVICE" = "/" ]
@@ -1074,18 +1074,18 @@ find_persistence_media ()
result=$(probe_for_file_name "${overlays}" ${dev})
if [ -n "${result}" ]
then
- local loopdevice
+ local loopdevice
loopdevice=${result##*=}
- if is_in_comma_sep_list luks ${PERSISTENCE_ENCRYPTION} && is_luks_partition ${loopdevice}
+ if is_in_comma_sep_list luks ${PERSISTENCE_ENCRYPTION} && is_luks_partition ${loopdevice}
then
- local luksfile
+ local luksfile
luksfile=""
if luksfile=$(open_luks_device "${loopdevice}")
then
- result=${result%%=*}
+ result=${result%%=*}
result="${result}=${luksfile}"
else
- losetup -d $loopdevice
+ losetup -d $loopdevice
result=""
fi
fi