From: Amos Jeffries Date: Sun, 7 Dec 2014 11:13:37 +0000 (+1300) Subject: Fix bootstrap.sh dependency on SPONSORS.list X-Git-Tag: merge-candidate-3-v1~453 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7d7f253cce231e1441c9783582178a1bbcdc0d4e;p=thirdparty%2Fsquid.git Fix bootstrap.sh dependency on SPONSORS.list bootstrap.sh is distributed in tarballs and may be used by packagers for various reasons. It does not need to unconditionally replace SPONSORS. --- diff --git a/bootstrap.sh b/bootstrap.sh index aa8e894ec4..a6f9c92414 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -164,7 +164,9 @@ do done # Make a copy of SPONSORS we can package -sed -e 's/@Squid-[0-9\.]*://' SPONSORS || (rm -f SPONSORS && exit 1) +if test -f SPONSORS.list; then + sed -e 's/@Squid-[0-9\.]*://' SPONSORS || (rm -f SPONSORS && exit 1) +fi # Fixup autoconf recursion using --silent/--quiet option # autoconf should inherit this option whe recursing into subdirectories