]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
handle a failcase better
authorRudolf Polzer <divVerent@xonotic.org>
Wed, 29 Sep 2010 13:11:33 +0000 (15:11 +0200)
committerRudolf Polzer <divVerent@xonotic.org>
Wed, 29 Sep 2010 13:11:33 +0000 (15:11 +0200)
misc/tools/xonotic-map-compiler-autobuild

index fec3e114585ed2a6ca104e12dd57e54a3aa06879..bb4ddb403baf26fb452cfe2ab553bcfd422c32fb 100755 (executable)
@@ -223,6 +223,7 @@ getthemap()
                if ! curl -o "$bspdir/$M-$blobhash.pk3" "$url$M-$blobhash.pk3"; then
                        rm -f "$bspdir/$M-$blobhash.pk3"
                        echo "WARNING: could not download $url$M-$blobhash.pk3, maybe not ready yet"
                if ! curl -o "$bspdir/$M-$blobhash.pk3" "$url$M-$blobhash.pk3"; then
                        rm -f "$bspdir/$M-$blobhash.pk3"
                        echo "WARNING: could not download $url$M-$blobhash.pk3, maybe not ready yet"
+                       getthemap_fail=true
                        return 0
                fi
        fi
                        return 0
                fi
        fi