Revision 8d0132dc rename

b/rename
28 28
# This is needed for file disks.
29 29
if [ ! -b $blockdev ]; then
30 30
  ORIGINAL_BLOCKDEV=$blockdev
31
  blockdev=$(losetup -sf $blockdev)
32
  CLEANUP+=("losetup -d $blockdev")
31
  blockdev=$($LOSETUP -sf $blockdev)
32
  CLEANUP+=("$LOSETUP -d $blockdev")
33 33
fi
34 34

  
35 35
if [ "$PARTITION_STYLE" = "none" ]; then

Also available in: Unified diff