From: Amos Jeffries Date: Mon, 8 Dec 2014 12:07:22 +0000 (-0800) Subject: Fix bootstrap.sh dependency on SPONSORS.list X-Git-Tag: SQUID_3_4_10~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a9f80e148dfa376dd4db9b067289776f7f8a7ab;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 3f14fdeb80..f287ad9d61 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -156,7 +156,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