count bytes BEFORE deleting ;)

This commit is contained in:
Rudolf Polzer 2011-12-03 14:09:55 +01:00
parent 8707593221
commit 438acddfe5

View File

@ -108,8 +108,8 @@ while IFS= read -r L; do
eval first=\$first_$s
if [ -n "$first" ]; then
first_r=`make_relative_path "$L" "$first"`
ln -vsnf "$first_r" "$L"
killed=$((`stat -c %s "$L"` + $killed))
ln -vsnf "$first_r" "$L"
else
eval first_$s=\$L
fi