mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
Merge pull request #24 from felixonmars/patch-1
Fix a typo in hackage.sh
This commit is contained in:
commit
af3f2fc8ba
@ -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}"
|
tar -ztf index.tar.gz | (cut -d/ -f 1,2 2>/dev/null) | sed 's|/|-|' | sort | uniq > "${remote_pklist}"
|
||||||
|
|
||||||
echo "building download list"
|
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
|
# this cannot use pipe, or the `wait` afterwards cannot wait
|
||||||
# because pipe spawns a subshell
|
# because pipe spawns a subshell
|
||||||
while read pk; do
|
while read pk; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user