From: Alex Rousskov Date: Sun, 30 Mar 2008 23:53:13 +0000 (-0600) Subject: Make libtoolize-generated files writable before updating them, to prevent X-Git-Tag: SQUID_3_1_0_1~49^2~302^2~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44937bde982302105d3ac4daec9cc8b3a4e538e0;p=thirdparty%2Fsquid.git Make libtoolize-generated files writable before updating them, to prevent "mv" from asking the user whether to overwrite those files. With libtool version 2(?), all this voodoo will become unnecessary. --- diff --git a/bootstrap.sh b/bootstrap.sh index 0950d78dce..4e90a1daca 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -55,6 +55,8 @@ bootstrap() { bootstrap_libtoolize() { ltver=$1 + # TODO: when we have libtool2, tell libtoolize where to put its files + # instead of manualy moving files from ltdl to lib/libLtdl if egrep -q '^[[:space:]]*AC_LIBLTDL_' configure.in then extras="--ltdl" @@ -84,6 +86,7 @@ bootstrap_libtoolize() { then echo updating $dest # TODO: only move files that changed + chmod u+w $dest/* mv $src/* $dest/ rmdir $src else