fixed torrent file creation

This commit is contained in:
Tobias Powalowski 2010-07-29 14:49:57 +02:00
parent ef1cd1c228
commit b4b47c69a8

View file

@ -14,10 +14,9 @@ archver="${1}"
isofile="${2}" isofile="${2}"
echo 'Creating webseeds...' echo 'Creating webseeds...'
httpmirrorlist=$(wget http://www.archlinux.org/mirrorlist/i686/all/ -q -O - \ httpmirrorlist=$(wget http://www.archlinux.org/mirrorlist/all/http/ -q -O - \
| grep 'http://' \
| awk "{print \$3\"/iso/${archver}/\";}" \ | awk "{print \$3\"/iso/${archver}/\";}" \
| sed -e 's#/$repo/os/i686##' \ | sed -e 's#/$repo/os/$arch##' \
-e 's#\s*# -w#') -e 's#\s*# -w#')
echo 'Building torrent...' echo 'Building torrent...'