Fix ghcup list -t all

This commit is contained in:
Julian Ospald 2019-04-10 21:56:48 +08:00
parent 2a92c96ea9
commit 50f661092d
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

4
ghcup
View File

@ -1707,11 +1707,7 @@ list() {
awk "
NF {
if (\$1 != \"#\") {
if (\$1 == \"cabal-install\") {
print \$1 \"\\t\" \$2 \"\\t\" \$3
} else {
print \$1 \"\\t\\t\" \$2 \"\\t\" \$3
}
}
}" "${meta_file}" || die "awk failed!"
else