tools/livecd-iso-to-disk.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 232ad957b64dc29177d3309637b1a15ac979d20a Author: Frederick Grose <[email protected]> Date: Thu Dec 2 09:48:23 2010 -0800 Fix incomplete rename of freespace variable (#656154) diff --git a/tools/livecd-iso-to-disk.sh b/tools/livecd-iso-to-disk.sh index 628822c..51abc0c 100755 --- a/tools/livecd-iso-to-disk.sh +++ b/tools/livecd-iso-to-disk.sh @@ -635,7 +635,7 @@ if [ "$isotype" = "live" ]; then (($swapsizemb > 0)) && \ printf " + Swap overlay size: %11s\n" $swapsizemb printf " = Total requested space: %6s MiB\n" $tba - printf " - Space available: %12s\n" $(($free + $tbd)) + printf " - Space available: %12s\n" $((freespace + tbd)) printf " ==============================\n" printf " Space needed: %15s MiB\n\n" $needed printf " To fit the installation on this device, @@ -658,8 +658,8 @@ if [ "$isotype" = "installer" ]; then fi echo "Size of DVD image: $isosize" echo "Size of install.img: $installimgsize" - echo "Available space: $(($free + $tbd))" - if [ $(($isosize + $installimgsize)) -gt $(($free + $tbd)) ]; then + echo "Available space: $((freespace + tbd))" + if (( ((isosize + installimgsize)) > ((freespace + tbd)) )); then echo "ERROR: Unable to fit DVD image + install.img on available space on USB stick" exitclean fi -- livecd mailing list [email protected] https://admin.fedoraproject.org/mailman/listinfo/livecd
