]> code.citadel.org Git - citadel.git/blobdiff - citadel/buildpackages
* fix exec permissions
[citadel.git] / citadel / buildpackages
index 31a1baf1846d31efe0684c78f943c66ba1e5c392..8cb0f70d7d1262792ab315672c028c890d9b8d1a 100755 (executable)
@@ -51,13 +51,13 @@ case $1 in
            cd ..
            rm -rf tmp
            mkdir tmp
-           cp -a citadel-$CITADEL_VERSION tmp
+           cp -rL citadel-$CITADEL_VERSION tmp
            cd tmp/citadel-$CITADEL_VERSION
            rm -rf `find -name .svn ` svn*tmp config.log config.status
            find -type f -exec chmod a-x {} \;
-           chmod a+x configure mk_module_init.sh debian/rules mkinstalldirs
+           chmod a+x configure *.sh *.sh.in debian/rules debian/*inst* debian/rules mkinstalldirs
            cd ..
-           tar -czf citadel_${CITADEL_VERSION}.orig.tar.gz citadel-${CITADEL_VERSION}/ --exclude "debian/*"
+           tar -chzf citadel_${CITADEL_VERSION}.orig.tar.gz citadel-${CITADEL_VERSION}/ --exclude "debian/*"
            pwd
            cd  citadel-${CITADEL_VERSION}; debuild -S -sa -kw.goesgens@outgesourced.org
        else
@@ -102,7 +102,7 @@ EMAIL=citadel@outgesourced.org
 
        ;;
     sourcedist)
-       cd ..; tar --exclude .svn --exclude "debian/*" -cvzf citadel-$CITADEL_VERSION.tar.gz citadel-$CITADEL_VERSION/
+       cd ..; tar --exclude .svn --exclude "debian/*" -chvzf citadel-$CITADEL_VERSION.tar.gz citadel-$CITADEL_VERSION/
        ;;
        *)
                echo "Not yet implemented. we have: debian "