Merge pull request #24 from felixonmars/patch-1

Fix a typo in hackage.sh
This commit is contained in:
Miao Wang 2019-02-14 22:38:40 +08:00 committed by GitHub
commit af3f2fc8ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ function hackage_mirror() {
tar -ztf index.tar.gz | (cut -d/ -f 1,2 2>/dev/null) | sed 's|/|-|' | sort | uniq > "${remote_pklist}"
echo "building download list"
# substract local list from remote list
# subtract local list from remote list
# this cannot use pipe, or the `wait` afterwards cannot wait
# because pipe spawns a subshell
while read pk; do