]> gitweb.factorcode.org Git - factor.git/commitdiff
When curl fails with a 404 error, don't write this error to disk
authorSheepson Apprentice <sheeple@freebsd-x86-32.(none)>
Sun, 4 Apr 2010 19:30:29 +0000 (14:30 -0500)
committerSheepson Apprentice <sheeple@freebsd-x86-32.(none)>
Sun, 4 Apr 2010 19:30:29 +0000 (14:30 -0500)
build-support/factor.sh

index 3a5fb4e253eb0819d4d28c2ee480ee42f164bb60..38bdc8183c37b24741a11148ce6bea31c421a4d7 100755 (executable)
@@ -68,7 +68,7 @@ set_downloader() {
     if [[ $? -ne 0 ]] ; then
         DOWNLOADER=wget
     else
-        DOWNLOADER="curl -O"
+        DOWNLOADER="curl -f -O"
     fi
 }