summaryrefslogtreecommitdiff
path: root/functions/losetup.sh
diff options
context:
space:
mode:
authorTiago Bortoletto Vaz <tiagovaz@safernet.org.br>2008-08-11 22:28:54 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:38 +0100
commit6205a24620be1025b802589501814626efed02f7 (patch)
tree13bc6858a98031f10083ab740306f29ff64e8d43 /functions/losetup.sh
parentc7bccbbf26106de79345257db99884d7c938856d (diff)
downloadlive-build-6205a24620be1025b802589501814626efed02f7.zip
live-build-6205a24620be1025b802589501814626efed02f7.tar.gz
Adding last modifications in order to have localization fully working in live-helper. This commit goes with some pt_BR translations just for testing. Thanks to Antonio Terceiro for helping and coding in some shell stuff.
Diffstat (limited to 'functions/losetup.sh')
-rwxr-xr-xfunctions/losetup.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions/losetup.sh b/functions/losetup.sh
index d956086..233e637 100755
--- a/functions/losetup.sh
+++ b/functions/losetup.sh
@@ -23,14 +23,14 @@ Losetup ()
if [ "${PARTITION}" = "0" ]
then
- Echo_message "Mounting ${DEVICE} with offset 0"
+ Echo_message "Mounting %s with offset 0" "${DEVICE}"
${LH_ROOT_COMMAND} ${LH_LOSETUP} "${DEVICE}" "${FILE}"
else
SECTORS="$(echo "$FDISK_OUT" | sed -ne "s|^$LOOPDEVICE[ *]*\([0-9]*\).*|\1|p")"
OFFSET="$(expr ${SECTORS} '*' 512)"
- Echo_message "Mounting ${DEVICE} with offset ${OFFSET}"
+ Echo_message "Mounting %s with offset %s" "${DEVICE}" "${OFFSET}"
${LH_ROOT_COMMAND} ${LH_LOSETUP} -o "${OFFSET}" "${DEVICE}" "${FILE}"
fi