patches/binutils/2.20/110-RPATH_ENVVAR-smack.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Aug 11 20:07:18 2010 +0200 (2010-08-11)
branch1.8
changeset 2092 18da1aa1beab
parent 1614 3f76cdbceb6e
permissions -rw-r--r--
scripts: in case of failed download, remove partial files

It happens from time to time that the server mis-behaves, and breaks the
connection right in the middle of nowhere, for no good reason, leaving us
with a partial file, on which the extract pass would choke.

Remove partial downloads, to fail early.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
(transplanted from eefacabd9e72f3d578e5dc5908026ed780f9a240)
yann@1614
     1
http://sourceware.org/ml/binutils/2007-07/msg00401.html
yann@1614
     2
http://sourceware.org/bugzilla/show_bug.cgi?id=4970
yann@1614
     3
fr@1621
     4
--- binutils/configure
fr@1621
     5
+++ binutils/configure
yann@1614
     6
@@ -5601,6 +5601,7 @@ case "${host}" in
yann@1614
     7
   *-*-mingw* | *-*-cygwin ) RPATH_ENVVAR=PATH ;;
yann@1614
     8
   *) RPATH_ENVVAR=LD_LIBRARY_PATH ;;
yann@1614
     9
 esac
yann@1614
    10
+RPATH_ENVVAR="cant_touch_this_nah_nah_nah"
yann@1614
    11
 
yann@1614
    12
 # On systems where the dynamic library environment variable is PATH,
yann@1614
    13
 if test "$RPATH_ENVVAR" = PATH; then