From: <cod...@go...> - 2008-12-30 22:43:05
|
Author: M0...@gm... Date: Tue Dec 30 13:36:39 2008 New Revision: 445 Modified: branches/iVL/MdlVerifyMedia.module branches/iVL/installer.gambas Log: Fixed bug when verifying from ISO Modified: branches/iVL/MdlVerifyMedia.module ============================================================================== --- branches/iVL/MdlVerifyMedia.module (original) +++ branches/iVL/MdlVerifyMedia.module Tue Dec 30 13:36:39 2008 @@ -66,13 +66,13 @@ sDevice = Right(sEntry, Len(sEntry) - InStr(sEntry, "/") + 1) IF InStr(sEntry, ".iso on") THEN ' this is an iso, we must mount the drive and then the ISO - sDevice = Right(sEntry, Len(sEntry) - InStr(sEntry, "/")) + 'sDevice = Right(sEntry, Len(sEntry) - InStr(sEntry, "/")) sImage = Left(sEntry, InStr(sEntry, " ")) ' perform the mounting EXEC ["mkdir", "/mnt/loop"] WAIT EXEC ["mkdir", "/mnt/source"] WAIT EXEC ["mount", sDevice, "/mnt/source"] WAIT - EXEC ["mount", "-o", "loop", "/mnt/source" &/ sImage, "/mnt/loop"] WAIT + EXEC ["mount", "-o", "loop", "/mnt/source" &/ Trim(sImage), "/mnt/loop"] WAIT ELSE ' Actual CD Media EXEC ["mkdir", "/mnt/source"] WAIT EXEC ["mount", sDevice, "/mnt/loop"] ' Mount it to loop, just to keep this consistant. Modified: branches/iVL/installer.gambas ============================================================================== Binary files. No diff available. |