[SCM] debian-live/live-helper branch, master, updated. 1.0_a39-1-16-g3289907

Otavio Salvador otavio at ossystems.com.br
Tue Mar 11 05:55:11 UTC 2008


The following commit has been merged in the master branch:
commit 328990730716fd168c3866c868b8dcb073c60200
Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Mon Mar 10 21:10:59 2008 -0300

    functions/losetup.sh: use SECTORS as variable name to reflect the real usage

diff --git a/functions/losetup.sh b/functions/losetup.sh
index a3bd8ba..d956086 100755
--- a/functions/losetup.sh
+++ b/functions/losetup.sh
@@ -27,8 +27,8 @@ Losetup ()
 
 		${LH_ROOT_COMMAND} ${LH_LOSETUP} "${DEVICE}" "${FILE}"
 	else
-		CYLINDERS="$(echo "$FDISK_OUT" | sed -ne "s|^$LOOPDEVICE[ *]*\([0-9]*\).*|\1|p")"
-		OFFSET="$(expr ${CYLINDERS} '*' 512)"
+		SECTORS="$(echo "$FDISK_OUT" | sed -ne "s|^$LOOPDEVICE[ *]*\([0-9]*\).*|\1|p")"
+		OFFSET="$(expr ${SECTORS} '*' 512)"
 
 		Echo_message "Mounting ${DEVICE} with offset ${OFFSET}"
 

-- 
debian-live/live-helper



More information about the debian-live-changes mailing list