]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- sleep for 2 seconds before trying again wich cvs
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 4 May 2003 11:24:20 +0000 (11:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    builder.sh -> 1.140

builder.sh

index 864178785d7d6ecc8307e0ba864d810a21b71102..c3e0d81fd9ee4142a9d682fc5efa68223c7fc5e4 100644 (file)
@@ -272,6 +272,7 @@ get_spec()
            if [ "$result" -ne "0" ]; then
                if (echo "$output" | grep -qE "(Cannot connect to|connect to .* failed|Connection reset by peer)") && [ "$retries_counter" -le "$CVS_RETRIES" ]; then
                    echo "Trying again [$SPECFILE]... ($retries_counter)"
+                   sleep 2
                    continue
                 fi
                Exit_error err_no_spec_in_repo;
@@ -357,6 +358,7 @@ get_files()
                        [ -n "$output" ] && echo "$output"
                        if (echo "$output" | grep -qE "(Cannot connect to|connect to .* failed|Connection reset by peer)") && [ "$result" -ne "0" -a "$retries_counter" -le "$CVS_RETRIES" ]; then
                                echo "Trying again [`nourl $i`]... ($retries_counter)"
+                               sleep 2
                                continue
                        else
                                break
This page took 0.037919 seconds and 4 git commands to generate.