From: Rudolf Polzer Date: Thu, 1 Dec 2011 12:33:51 +0000 (+0100) Subject: don't rely on HEAD binary, arch doesn't have it. Use lwp-request HEAD. X-Git-Tag: xonotic-v0.6.0~57 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=8dbd80446061412f6f0b15b0eb470df690a763e3 don't rely on HEAD binary, arch doesn't have it. Use lwp-request HEAD. --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index bfead991..373a50dc 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -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