]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Make libtoolize-generated files writable before updating them, to prevent
authorAlex Rousskov <rousskov@measurement-factory.com>
Sun, 30 Mar 2008 23:53:13 +0000 (17:53 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Sun, 30 Mar 2008 23:53:13 +0000 (17:53 -0600)
"mv" from asking the user whether to overwrite those files.

With libtool version 2(?), all this voodoo will become unnecessary.

bootstrap.sh

index 0950d78dcede6a0b6b8ab705936833bcf7fe6727..4e90a1dacafe26887ab1290e2d9e8d9710cb744a 100755 (executable)
@@ -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