Excluded directories were no excluded from source disk usage report - quotes issue
This commit is contained in:
parent
6ccf6917e4
commit
646f8c4036
1 changed files with 2 additions and 2 deletions
|
|
@ -377,13 +377,13 @@ get_source_file_size()
|
||||||
if [ ! -z "$INCLIST" ]; then
|
if [ ! -z "$INCLIST" ]; then
|
||||||
for include in ${INCLIST[@]}
|
for include in ${INCLIST[@]}
|
||||||
do
|
do
|
||||||
echo -e '"'$DUEXCLIST'"' | \
|
echo -e "$DUEXCLIST" | \
|
||||||
du -hs ${DUEXCFLAG} ${include} | \
|
du -hs ${DUEXCFLAG} ${include} | \
|
||||||
awk '{ FS="\t"; $0=$0; print $1"\t"$2 }' \
|
awk '{ FS="\t"; $0=$0; print $1"\t"$2 }' \
|
||||||
>> ${LOGFILE}
|
>> ${LOGFILE}
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
echo -e '"'$DUEXCLIST'"' | \
|
echo -e "$DUEXCLIST" | \
|
||||||
du -hs ${DUEXCFLAG} $ROOT | \
|
du -hs ${DUEXCFLAG} $ROOT | \
|
||||||
awk '{ FS="\t"; $0=$0; print $1"\t"$2 }' \
|
awk '{ FS="\t"; $0=$0; print $1"\t"$2 }' \
|
||||||
>> ${LOGFILE}
|
>> ${LOGFILE}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue