]> code.citadel.org Git - citadel.git/blobdiff - webcit/buildpackages
* set +x flags
[citadel.git] / webcit / buildpackages
index 7d896e9181bce5fd245e15a5f1a2ec410223356e..d1db1d1e585447be168948785b89a31320ba51c7 100755 (executable)
@@ -9,6 +9,8 @@ PACKAGE_VERSION=`cat packageversion`
 DATE=`date '+%a, %d %b %Y %H:%I:00 %z'`
 ACTUAL_DIR=`pwd`
 
+
+rm -rf debian/citadel-webcit debian/tmp/
 if echo "$ACTUAL_DIR" |grep -q "$WEBCIT_VERSION"; then
        echo "directory ($ACTUAL_DIR) naming scheme seems right. nothing done."
 else
@@ -47,6 +49,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 debian/rules 
            cd ..
            tar -czf webcit_${WEBCIT_VERSION}.orig.tar.gz webcit-${WEBCIT_VERSION}/ --exclude "debian/*"
            pwd