~unit193/ubuntu-dev-tools/update-deb-mirror

« back to all changes in this revision

Viewing changes to grab-merge

  • Committer: Stefano Rivera
  • Date: 2011-11-12 21:05:15 UTC
  • Revision ID: stefanor@ubuntu.com-20111112210515-1jommehevcn8bcb7
grab-merge: Use wget -nv rather than -q, so that we see error messages
(LP: #881967)

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
if [ "$RSYNC" = "y" ]; then
60
60
    URL="merges.ubuntu.com:/srv/patches.ubuntu.com/merges/$HASH/$MERGE/"
61
61
    rsync --verbose --archive --progress --compress --delete \
62
 
        "$URL" . || { echo "Error while rsyncing $URL"; exit 1; }
 
62
        "$URL" . || { echo "Error while rsyncing $URL"; exit 1; }
63
63
else
64
64
    rm -rf  --one-file-system *
65
 
    wget -q https://merges.ubuntu.com/$HASH/$MERGE/REPORT || {
 
65
    wget -nv https://merges.ubuntu.com/$HASH/$MERGE/REPORT || {
66
66
            echo "Package not found on merges.ubuntu.com."
67
67
            [ "$CREATED_DIR" != "1" ] || { cd ..; rmdir $MERGE; }
68
68
            exit 1