Mailinglist Archive: opensuse-factory (241 mails)

< Previous Next >
[opensuse-factory] a bug of makeSUSEdvd 0.35-1
line 432

TESTCD=$(echo ${CD_LINE}|awk '{print $6}') # the mount point where the $CD_DIR will reside
FREE_CD=$(echo ${CD_LINE}|awk '{print $4}') # the free space on the mount point for $CD_DIR

TESTDVD=$(echo ${DVD_LINE}|awk '{print $6}') # the mount point where the $DVD_DIR will reside
FREE_DVD=$(echo ${DVD_LINE}|awk '{print $4}') # the free space on the mount point for $DVD_DIR


should be:
FREE_CD=$(echo ${CD_LINE}|awk '{print $(NF-2)}')


otherwise it will not be error when "df" show the following result:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/system-suse10
15728156 13381848 2346308 86% /


N�Р骒r��y���Z)z{.辩�r�+穗Р骒r��z�^�爽z����u丨�����&�┹遍��Z)z{.辩�r�+髓^��)z{.标+
< Previous Next >
This Thread
Follow Ups