]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
don't rely on HEAD binary, arch doesn't have it. Use lwp-request HEAD.
authorRudolf Polzer <divverent@alientrap.org>
Thu, 1 Dec 2011 12:33:51 +0000 (13:33 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 1 Dec 2011 12:33:51 +0000 (13:33 +0100)
misc/tools/xonotic-map-compiler-autobuild

index bfead9912d175f0efe262804a30754372f3fda0a..373a50dc30ce70e2be9136c097e2d96f604e3dc0 100755 (executable)
@@ -163,7 +163,7 @@ buildthemap()
        M=$3
        blobhash=$4
        commithash=$5
-       if HEAD "$url$M-$blobhash.pk3"; then
+       if lwp-request -m HEAD "$url$M-$blobhash.pk3"; then
                continue
        fi
 
@@ -213,7 +213,7 @@ screenshotthemap()
        M=$3
        blobhash=$4
        commithash=$5
-       if HEAD "$url$M-$blobhash/"; then
+       if lwp-request -m HEAD "$url$M-$blobhash/"; then
                continue
        fi