From 7d7f253cce231e1441c9783582178a1bbcdc0d4e Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Mon, 8 Dec 2014 00:13:37 +1300 Subject: [PATCH] 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. --- bootstrap.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.47.2