Fix a typo in hackage.sh

This commit is contained in:
Felix Yan 2018-05-24 01:53:47 +08:00 committed by GitHub
parent 9b316449c5
commit fe4331c768
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|/|-|' > $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