maintainers/scripts/haskell: sort case- and locale-insensitively consistently
sort -i actually means "ignore nonprinting", not "ignore case". Also, we need to set LC_ALL to get proper sorting for "-".
This commit is contained in:
@@ -46,7 +46,7 @@ sed -r \
|
||||
-e '/^with-compiler:/d' \
|
||||
-e '/installed$/d' \
|
||||
-e '/^$/d' \
|
||||
< "${tmpfile}" | sort --ignore-case >"${tmpfile_new}"
|
||||
< "${tmpfile}" | LC_ALL=C.UTF-8 sort --ignore-case >"${tmpfile_new}"
|
||||
|
||||
cat > $stackage_config << EOF
|
||||
# Stackage $version
|
||||
|
||||
Reference in New Issue
Block a user