From 8dbd80446061412f6f0b15b0eb470df690a763e3 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Thu, 1 Dec 2011 13:33:51 +0100 Subject: [PATCH] don't rely on HEAD binary, arch doesn't have it. Use lwp-request HEAD. --- misc/tools/xonotic-map-compiler-autobuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2