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
|
||||
for include in ${INCLIST[@]}
|
||||
do
|
||||
echo -e '"'$DUEXCLIST'"' | \
|
||||
echo -e "$DUEXCLIST" | \
|
||||
du -hs ${DUEXCFLAG} ${include} | \
|
||||
awk '{ FS="\t"; $0=$0; print $1"\t"$2 }' \
|
||||
>> ${LOGFILE}
|
||||
done
|
||||
else
|
||||
echo -e '"'$DUEXCLIST'"' | \
|
||||
echo -e "$DUEXCLIST" | \
|
||||
du -hs ${DUEXCFLAG} $ROOT | \
|
||||
awk '{ FS="\t"; $0=$0; print $1"\t"$2 }' \
|
||||
>> ${LOGFILE}
|
||||
|
|
|
|||
Loading…
Reference in a new issue