fix bug due to the sort command ignoring whitespace

This commit is contained in:
p4bl0 2011-05-31 00:04:41 +02:00
parent b4ed213b75
commit ac6e67b1e0
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ for f in "$articles_dir"/* $deleted_files; do
if [ "$ts" != "" ]; then
echo "$ts ${f#$articles_dir/}"
fi
done | sort -nr | cut -d' ' -f2 > "$articles_sorted_with_delete"
done | sort -k1,1nr | cut -d' ' -f2 > "$articles_sorted_with_delete"
commits=`mktemp`
git log --oneline | cut -d' ' -f1 > "$commits"