* remove more unneeded files from the sourcedist tgz
[citadel.git] / webcit / buildpackages
index 7d896e9181bce5fd245e15a5f1a2ec410223356e..bdd78929ce3450d49fff52cb7953284062f02910 100755 (executable)
@@ -47,6 +47,8 @@ case $1 in
            cp -a webcit-$WEBCIT_VERSION tmp
            cd tmp/webcit-$WEBCIT_VERSION
            rm -rf `find -name .svn ` svn*tmp* build-stamp configure-stamp *~ config.guess  config.log config.status autom4te.cache
+           find -type f -exec chmod a-x {} \;
+           chmod a+x configure
            cd ..
            tar -czf webcit_${WEBCIT_VERSION}.orig.tar.gz webcit-${WEBCIT_VERSION}/ --exclude "debian/*"
            pwd